Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0021/0.0021, allocations: 123.8 kB / 17.17 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 210.3 kB / 20.13 MB, free: 2.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.595/1.595, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.128/3.128, allocations: 0.49 GB / 0.7923 GB, free: 1.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 63.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9952/0.9974, allocations: 176.1 MB / 1.321 GB, free: 24.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay): time 0.00203/0.9995, allocations: 1.089 MB / 1.323 GB, free: 24.04 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001303/1.001, allocations: 1.261 MB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/1.001, allocations: 2.625 kB / 1.324 GB, free: 23.11 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001566/1.001, allocations: 26.55 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/1.001, allocations: 30.55 kB / 1.324 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/1.002, allocations: 175.3 kB / 1.324 GB, free: 22.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002429/1.002, allocations: 257.4 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001653/1.002, allocations: 89.2 kB / 1.324 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/1.002, allocations: 97.64 kB / 1.324 GB, free: 22.73 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/1.002, allocations: 91.95 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/1.002, allocations: 28.72 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.684e-05/1.002, allocations: 41.92 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.197e-05/1.002, allocations: 44 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.67e-05/1.003, allocations: 103.4 kB / 1.325 GB, free: 22.57 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002943/1.003, allocations: 325.3 kB / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.003, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.482e-06/1.003, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.088e-05/1.003, allocations: 0 / 1.325 GB, free: 22.45 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0006686/1.004, allocations: 0.5071 MB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/1.004, allocations: 12.33 kB / 1.326 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.496e-05/1.004, allocations: 9.812 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/1.004, allocations: 45.36 kB / 1.326 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.581e-05/1.004, allocations: 22.62 kB / 1.326 GB, free: 21.92 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/1.004, allocations: 257.4 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.202e-05/1.004, allocations: 12.78 kB / 1.326 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/1.004, allocations: 18.34 kB / 1.326 GB, free: 21.66 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/1.004, allocations: 149.4 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/1.004, allocations: 3.938 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/1.004, allocations: 11.12 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.004, allocations: 2.719 kB / 1.326 GB, free: 21.57 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/1.004, allocations: 92.52 kB / 1.326 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/1.005, allocations: 0.587 MB / 1.327 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/1.005, allocations: 82.39 kB / 1.327 GB, free: 21.06 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.129e-05/1.005, allocations: 43.94 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/1.005, allocations: 2.5 kB / 1.327 GB, free: 21.04 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/1.006, allocations: 89.7 kB / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/1.006, allocations: 0 / 1.327 GB, free: 20.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.000273/1.006, allocations: 141.8 kB / 1.327 GB, free: 20.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/1.006, allocations: 53.94 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/1.006, allocations: 199.9 kB / 1.327 GB, free: 20.69 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/1.006, allocations: 32.58 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/1.006, allocations: 131.1 kB / 1.327 GB, free: 20.54 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/1.006, allocations: 32.5 kB / 1.327 GB, free: 20.52 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/1.006, allocations: 40.94 kB / 1.328 GB, free: 20.49 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.352e-05/1.006, allocations: 329.5 kB / 1.328 GB, free: 20.17 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/1.006, allocations: 55.05 kB / 1.328 GB, free: 20.15 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/1.007, allocations: 89.39 kB / 1.328 GB, free: 20.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/1.007, allocations: 121.3 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/1.007, allocations: 0.9688 kB / 1.328 GB, free: 20 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003711/1.007, allocations: 223.9 kB / 1.328 GB, free: 19.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/1.007, allocations: 36.84 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.007, allocations: 0.75 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/1.007, allocations: 5.625 kB / 1.328 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-05/1.007, allocations: 18.56 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/1.007, allocations: 1.75 kB / 1.328 GB, free: 19.83 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/1.007, allocations: 45.33 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/1.007, allocations: 6.312 kB / 1.328 GB, free: 19.82 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,rho.booPul.y,$PRE.rho.booPul.y,norTimDel.or2.y,norTimDel.gre.greHys.y,$PRE.norTimDel.gre.greHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.389e-05/1.008, allocations: 137.3 kB / 1.329 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/1.008, allocations: 18.81 kB / 1.329 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/1.008, allocations: 24.03 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/1.008, allocations: 1.312 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.008, allocations: 1.031 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.008, allocations: 6.984 kB / 1.329 GB, free: 19.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/1.008, allocations: 245.3 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/1.008, allocations: 1.469 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/1.008, allocations: 12.06 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/1.008, allocations: 0 / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/1.008, allocations: 1.25 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/1.008, allocations: 1.438 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/1.008, allocations: 4 kB / 1.329 GB, free: 19.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/1.008, allocations: 151.8 kB / 1.329 GB, free: 19.31 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/1.008, allocations: 99.94 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/1.008, allocations: 1.562 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/1.008, allocations: 11.41 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.668e-05/1.008, allocations: 9.938 kB / 1.329 GB, free: 19.2 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.179e-05/1.008, allocations: 10.72 kB / 1.329 GB, free: 19.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001051/1.008, allocations: 148.8 kB / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.008, allocations: 0 / 1.329 GB, free: 19.09 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002525/1.009, allocations: 40.95 kB / 1.329 GB, free: 19.08 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,norTimDel.gre.greHys.y,norTimDel.or2.y,rho.booPul.y) * Number of discrete states: 1 (norTimDel.gre.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004175/1.009, allocations: 0.6791 MB / 1.33 GB, free: 18.46 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003012/1.009, allocations: 167.8 kB / 1.33 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/1.009, allocations: 0 / 1.33 GB, free: 18.35 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.092e-05/1.009, allocations: 41.36 kB / 1.33 GB, free: 18.34 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/1.01, allocations: 32 kB / 1.33 GB, free: 18.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002022/1.012, allocations: 1.958 MB / 1.332 GB, free: 16.82 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/1.012, allocations: 0.7245 MB / 1.333 GB, free: 16.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.963e-05/1.012, allocations: 17.3 kB / 1.333 GB, free: 16.11 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.768e-05/1.012, allocations: 50.12 kB / 1.333 GB, free: 16.07 MB / 1.061 GB Notification: Performance of SimCode: time 2.81e-07/1.012, allocations: 1.062 kB / 1.333 GB, free: 16.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/1.037, allocations: 3.936 MB / 1.337 GB, free: 15.59 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.826/9.863, allocations: 19.81 kB / 1.337 GB, free: 15.58 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_Utilities_PIDWithAutotuning_Relay_BaseClasses_Validation_NormalizedTimeDelay.fmu > Buildings_12_Buildings.Controls.OBC.Utilities.PIDWithAutotuning.Relay.BaseClasses.Validation.NormalizedTimeDelay.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.795839094033] Failed to read output from testmodel.py, exit status != 0: 9.995714292046614 10.016132221 9.009283962 Calling exit ...