Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.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.001378/0.001378, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00142/0.00142, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.186/3.186, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",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.002001/0.002001, allocations: 66.98 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002047/0.357, allocations: 0.7932 MB / 1.346 GB, free: 15.15 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001862/0.3589, allocations: 1.49 MB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.571e-05/0.359, allocations: 3.938 kB / 1.348 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.3591, allocations: 19.8 kB / 1.348 GB, free: 13.62 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.529e-05/0.3591, allocations: 35.7 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3603, allocations: 0.5228 MB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005176/0.3608, allocations: 479.2 kB / 1.349 GB, free: 12.61 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3609, allocations: 29.67 kB / 1.349 GB, free: 12.58 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001833/0.3611, allocations: 179.8 kB / 1.349 GB, free: 12.4 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3614, allocations: 175.5 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.3614, allocations: 44 kB / 1.349 GB, free: 12.19 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.3616, allocations: 59.92 kB / 1.349 GB, free: 12.13 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.3616, allocations: 39.84 kB / 1.349 GB, free: 12.09 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001933/0.3618, allocations: 155.6 kB / 1.349 GB, free: 11.94 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004541/0.3623, allocations: 415 kB / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3623, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3623, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.3623, allocations: 0 / 1.35 GB, free: 11.53 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007736/0.3631, allocations: 0.5812 MB / 1.35 GB, free: 10.89 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3631, allocations: 8.031 kB / 1.35 GB, free: 10.88 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.037e-05/0.3631, allocations: 12.19 kB / 1.35 GB, free: 10.87 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.3632, allocations: 46.73 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.3632, allocations: 32.78 kB / 1.35 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/0.3636, allocations: 206.1 kB / 1.35 GB, free: 10.55 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.282e-05/0.3636, allocations: 20.31 kB / 1.35 GB, free: 10.54 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.296e-05/0.3637, allocations: 28.38 kB / 1.351 GB, free: 10.51 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002663/0.3639, allocations: 155.6 kB / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.3639, allocations: 0 / 1.351 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.364, allocations: 11.98 kB / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.364, allocations: 0 / 1.351 GB, free: 10.33 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.3641, allocations: 87.75 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008528/0.365, allocations: 0.5933 MB / 1.351 GB, free: 9.605 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.3652, allocations: 82.55 kB / 1.351 GB, free: 9.516 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.65e-05/0.3652, allocations: 44.83 kB / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.3652, allocations: 192 / 1.351 GB, free: 9.469 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.3656, allocations: 163.1 kB / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 1.512e-06/0.3656, allocations: 0 / 1.352 GB, free: 9.297 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0004769/0.3661, allocations: 251 kB / 1.352 GB, free: 9.047 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.364e-05/0.3661, allocations: 59.41 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.3663, allocations: 186.1 kB / 1.352 GB, free: 8.781 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.3663, allocations: 37.7 kB / 1.352 GB, free: 8.738 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.3665, allocations: 132.7 kB / 1.352 GB, free: 8.605 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.3665, allocations: 35.75 kB / 1.352 GB, free: 8.57 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.3667, allocations: 117.6 kB / 1.352 GB, free: 8.449 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3669, allocations: 326.8 kB / 1.353 GB, free: 8.121 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004313/0.3673, allocations: 304.4 kB / 1.353 GB, free: 7.793 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.3678, allocations: 394.7 kB / 1.353 GB, free: 7.34 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004938/0.3683, allocations: 410.5 kB / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3683, allocations: 0 / 1.354 GB, free: 6.871 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001143/0.3694, allocations: 0.7874 MB / 1.355 GB, free: 6.016 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.3696, allocations: 166.7 kB / 1.355 GB, free: 5.824 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3696, allocations: 7.938 kB / 1.355 GB, free: 5.816 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.3696, allocations: 4 kB / 1.355 GB, free: 5.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.296e-05/0.3696, allocations: 15.94 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.3696, allocations: 8.328 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007678/0.3704, allocations: 131.7 kB / 1.355 GB, free: 5.66 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.126e-05/0.3705, allocations: 31.97 kB / 1.355 GB, free: 5.629 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul5.y,$PRE.booPul5.y,booPul4.y,$PRE.booPul4.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,mulAnd5.uTemp[4],mulAnd5.uTemp[3],mulAnd5.uTemp[2],mulAnd5.y,mulAnd2.y,mulAnd0.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 5 * 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 0.0002026/0.3707, allocations: 163.1 kB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3707, allocations: 19.8 kB / 1.355 GB, free: 5.441 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/0.3708, allocations: 17.81 kB / 1.355 GB, free: 5.422 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3708, allocations: 4 kB / 1.355 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3708, allocations: 64 / 1.355 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.3708, allocations: 7.984 kB / 1.355 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005787/0.3714, allocations: 479 kB / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3714, allocations: 0 / 1.356 GB, free: 4.895 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.241e-05/0.3714, allocations: 7.984 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3714, allocations: 4 kB / 1.356 GB, free: 4.883 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.3714, allocations: 8 kB / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3714, allocations: 0 / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3714, allocations: 0 / 1.356 GB, free: 4.875 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.3717, allocations: 288.8 kB / 1.356 GB, free: 4.578 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.3717, allocations: 11.91 kB / 1.356 GB, free: 4.566 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.3718, allocations: 4 kB / 1.356 GB, free: 4.562 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.831e-05/0.3718, allocations: 7.984 kB / 1.356 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.69e-05/0.3719, allocations: 19.97 kB / 1.356 GB, free: 4.535 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3719, allocations: 12 kB / 1.356 GB, free: 4.523 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001018/0.372, allocations: 119.2 kB / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.372, allocations: 0 / 1.356 GB, free: 4.406 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0003626/0.3724, allocations: 83.89 kB / 1.356 GB, free: 4.324 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 (mulAnd5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulAnd2.y,mulAnd5.y,mulAnd5.uTemp[3],mulAnd5.uTemp[4],booPul1.y,booPul2.y,booPul3.y,booPul4.y,booPul5.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0006938/0.3731, allocations: 0.8238 MB / 1.357 GB, free: 3.477 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008521/0.3739, allocations: 0.6965 MB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3739, allocations: 0.6875 kB / 1.358 GB, free: 2.688 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.374, allocations: 71.89 kB / 1.358 GB, free: 2.617 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.3745, allocations: 51.88 kB / 1.358 GB, free: 2.566 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0044/0.3789, allocations: 3.636 MB / 1.361 GB, free: 14.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.379, allocations: 120.3 kB / 1.361 GB, free: 14.48 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.3791, allocations: 21.48 kB / 1.361 GB, free: 14.46 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3792, allocations: 59.41 kB / 1.361 GB, free: 14.4 MB / 1.061 GB Notification: Performance of SimCode: time 7.02e-07/0.3792, allocations: 4 kB / 1.361 GB, free: 14.4 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.4088, allocations: 7.064 MB / 1.368 GB, free: 7.582 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.85/12.26, allocations: 5.953 kB / 1.368 GB, free: 7.578 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.98533379402943] Failed to read output from testmodel.py, exit status != 0: 12.422677528928034 12.452583437 12.085034519 Calling exit ...