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.001342/0.001342, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001469/0.001469, allocations: 217.8 kB / 23.04 MB, free: 5.074 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.233/3.233, allocations: 0.5003 GB / 0.8061 GB, free: 26.74 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.00202/0.00202, allocations: 62.16 kB / 1.171 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3469, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002011/0.3489, allocations: 0.8322 MB / 1.346 GB, free: 15.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3508, allocations: 1.525 MB / 1.348 GB, free: 14.1 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.255e-05/0.3509, allocations: 4 kB / 1.348 GB, free: 14.09 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.351, allocations: 15.8 kB / 1.348 GB, free: 14.08 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.3511, allocations: 31.72 kB / 1.348 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.3524, allocations: 0.5231 MB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.353, allocations: 479.2 kB / 1.349 GB, free: 13.07 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3531, allocations: 25.66 kB / 1.349 GB, free: 13.04 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002052/0.3533, allocations: 187.7 kB / 1.349 GB, free: 12.86 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.3536, allocations: 175.5 kB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 6.955e-05/0.3536, allocations: 44 kB / 1.349 GB, free: 12.64 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.3537, allocations: 55.98 kB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 5.768e-05/0.3538, allocations: 39.91 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.354, allocations: 167.4 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004563/0.3545, allocations: 419 kB / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3545, allocations: 0 / 1.35 GB, free: 11.98 MB / 1.045 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3545, allocations: 3.938 kB / 1.35 GB, free: 11.97 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.747e-06/0.3545, allocations: 0 / 1.35 GB, free: 11.97 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.0008702/0.3553, allocations: 0.5761 MB / 1.35 GB, free: 11.33 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.3554, allocations: 12.03 kB / 1.35 GB, free: 11.32 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.697e-05/0.3554, allocations: 8.188 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.3554, allocations: 46.73 kB / 1.35 GB, free: 11.26 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.3555, allocations: 28.84 kB / 1.35 GB, free: 11.23 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.3559, allocations: 198.1 kB / 1.351 GB, free: 11.01 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.3559, allocations: 28.3 kB / 1.351 GB, free: 10.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.097e-05/0.356, allocations: 28.38 kB / 1.351 GB, free: 10.96 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.3562, allocations: 155.6 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3562, allocations: 0 / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.3563, allocations: 7.938 kB / 1.351 GB, free: 10.79 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.3563, allocations: 8 kB / 1.351 GB, free: 10.78 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001467/0.3564, allocations: 91.05 kB / 1.351 GB, free: 10.69 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/0.3573, allocations: 0.6673 MB / 1.352 GB, free: 9.977 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.3575, allocations: 90.48 kB / 1.352 GB, free: 9.879 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.597e-05/0.3576, allocations: 36.84 kB / 1.352 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3576, allocations: 4 kB / 1.352 GB, free: 9.836 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.3579, allocations: 163.2 kB / 1.352 GB, free: 9.664 MB / 1.045 GB Notification: Performance of pre-optimization done (n=20): time 4.95e-06/0.3579, allocations: 3.984 kB / 1.352 GB, free: 9.66 MB / 1.045 GB Notification: Performance of matching and sorting (n=20): time 0.0005283/0.3585, allocations: 238.8 kB / 1.352 GB, free: 9.422 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.015e-05/0.3585, allocations: 63.41 kB / 1.352 GB, free: 9.348 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3587, allocations: 186.1 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 6.548e-05/0.3588, allocations: 37.7 kB / 1.352 GB, free: 9.109 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.3589, allocations: 132.7 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.359, allocations: 31.77 kB / 1.352 GB, free: 8.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3592, allocations: 113.6 kB / 1.353 GB, free: 8.828 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.3593, allocations: 330.8 kB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.3597, allocations: 155.9 kB / 1.353 GB, free: 8.344 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003897/0.36, allocations: 242.1 kB / 1.353 GB, free: 8.07 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.3605, allocations: 410.6 kB / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.3605, allocations: 64 / 1.354 GB, free: 7.602 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.3616, allocations: 0.6384 MB / 1.354 GB, free: 6.926 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.3617, allocations: 164.4 kB / 1.354 GB, free: 6.734 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3617, allocations: 4 kB / 1.354 GB, free: 6.73 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3617, allocations: 4.344 kB / 1.354 GB, free: 6.727 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.812e-05/0.3618, allocations: 15.94 kB / 1.354 GB, free: 6.711 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.3618, allocations: 8.031 kB / 1.354 GB, free: 6.703 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000797/0.3626, allocations: 147.6 kB / 1.355 GB, free: 6.559 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/0.3627, allocations: 27.98 kB / 1.355 GB, free: 6.531 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.0002022/0.3629, allocations: 151.1 kB / 1.355 GB, free: 6.375 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.3629, allocations: 31.72 kB / 1.355 GB, free: 6.344 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.281e-05/0.363, allocations: 17.81 kB / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.363, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.363, allocations: 0 / 1.355 GB, free: 6.324 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.363, allocations: 8 kB / 1.355 GB, free: 6.316 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006141/0.3636, allocations: 491 kB / 1.355 GB, free: 5.789 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.3636, allocations: 3.984 kB / 1.355 GB, free: 5.785 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.82e-05/0.3636, allocations: 3.938 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3636, allocations: 4 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3636, allocations: 4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.3636, allocations: 4 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3636, allocations: 0 / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003345/0.364, allocations: 289 kB / 1.356 GB, free: 5.473 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.364, allocations: 11.91 kB / 1.356 GB, free: 5.461 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.364, allocations: 7.984 kB / 1.356 GB, free: 5.453 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.908e-05/0.3641, allocations: 4 kB / 1.356 GB, free: 5.449 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3641, allocations: 19.97 kB / 1.356 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3642, allocations: 4 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.41e-05/0.3642, allocations: 119.2 kB / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of sort global known variables: time 6.1e-08/0.3642, allocations: 0 / 1.356 GB, free: 5.309 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.000385/0.3646, allocations: 91.81 kB / 1.356 GB, free: 5.219 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.0006786/0.3653, allocations: 0.8222 MB / 1.357 GB, free: 4.371 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0007724/0.3661, allocations: 0.5541 MB / 1.357 GB, free: 3.758 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3661, allocations: 4.125 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.3662, allocations: 67.91 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.3666, allocations: 45 kB / 1.357 GB, free: 3.645 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/0.3707, allocations: 3.026 MB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.3711, allocations: 0.7245 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 9.303e-05/0.3712, allocations: 21.48 kB / 1.361 GB, free: 15.66 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.045e-05/0.3713, allocations: 59.41 kB / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of SimCode: time 8.62e-07/0.3713, allocations: 0 / 1.361 GB, free: 15.61 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02905/0.4004, allocations: 6.604 MB / 1.367 GB, free: 9.188 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.58/11.98, allocations: 17.2 kB / 1.368 GB, free: 9.176 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.90039828699082] Failed to read output from testmodel.py, exit status != 0: 12.145465931040235 12.16272389 11.804242464 Calling exit ...