Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001313/0.001313, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001602/0.001602, allocations: 217 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.55/1.55, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.848/2.848, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd,fileNamePrefix="Buildings_11_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.002016/0.002016, allocations: 67.27 kB / 1.118 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3373, allocations: 170 MB / 1.284 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd): time 0.002837/0.3401, allocations: 0.8417 MB / 1.285 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00261/0.3427, allocations: 1.519 MB / 1.286 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.3429, allocations: 4 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.343, allocations: 15.81 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3431, allocations: 39.64 kB / 1.287 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3445, allocations: 0.5159 MB / 1.287 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000816/0.3453, allocations: 479.2 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.3455, allocations: 29.66 kB / 1.288 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003948/0.3459, allocations: 183.7 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004769/0.3464, allocations: 179.5 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.3465, allocations: 47.94 kB / 1.288 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.3467, allocations: 52 kB / 1.288 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.598e-05/0.3467, allocations: 43.84 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002914/0.347, allocations: 163.5 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.3477, allocations: 414.3 kB / 1.289 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.3477, allocations: 3.938 kB / 1.289 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3477, allocations: 4 kB / 1.289 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.337e-05/0.3477, allocations: 0 / 1.289 GB, free: 7.266 MB / 0.9825 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.001085/0.3488, allocations: 0.5683 MB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.3488, allocations: 16.03 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.66e-05/0.3488, allocations: 192 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.3489, allocations: 46.67 kB / 1.289 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.349, allocations: 36.73 kB / 1.289 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.3494, allocations: 199.5 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.3494, allocations: 16.38 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.732e-05/0.3495, allocations: 36.36 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.3498, allocations: 158.2 kB / 1.29 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3498, allocations: 4 kB / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.3498, allocations: 0 / 1.29 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.3498, allocations: 4 kB / 1.29 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.35, allocations: 83.81 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.351, allocations: 0.6712 MB / 1.29 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.3512, allocations: 98.47 kB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.3513, allocations: 36.84 kB / 1.29 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3513, allocations: 4 kB / 1.29 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003317/0.3516, allocations: 155.3 kB / 1.291 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.653e-06/0.3516, allocations: 4 kB / 1.291 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004909/0.3521, allocations: 243.7 kB / 1.291 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.59e-05/0.3522, allocations: 63.39 kB / 1.291 GB, free: 4.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.3524, allocations: 190.7 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.836e-05/0.3524, allocations: 37.7 kB / 1.291 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.3526, allocations: 124.6 kB / 1.291 GB, free: 4.289 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-05/0.3526, allocations: 43.67 kB / 1.291 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3528, allocations: 113.6 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.353, allocations: 330.8 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/0.3533, allocations: 159.9 kB / 1.292 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003953/0.3537, allocations: 238.1 kB / 1.292 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.3543, allocations: 413.8 kB / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.3543, allocations: 0 / 1.292 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001042/0.3553, allocations: 0.6266 MB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.3554, allocations: 172.4 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.3554, allocations: 352 / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3555, allocations: 12 kB / 1.293 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.379e-05/0.3555, allocations: 8.078 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/0.3555, allocations: 11.88 kB / 1.293 GB, free: 2.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.3563, allocations: 139.7 kB / 1.293 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.354e-05/0.3563, allocations: 35.97 kB / 1.293 GB, free: 1.836 MB / 0.9825 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.0002089/0.3566, allocations: 155 kB / 1.294 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.3566, allocations: 23.84 kB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.142e-05/0.3566, allocations: 21.8 kB / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3566, allocations: 0 / 1.294 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.3566, allocations: 4 kB / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.3567, allocations: 0 / 1.294 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/0.3573, allocations: 485.4 kB / 1.294 GB, free: 1.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.3573, allocations: 7.938 kB / 1.294 GB, free: 1.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/0.3573, allocations: 3.984 kB / 1.294 GB, free: 1.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3573, allocations: 4 kB / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.3573, allocations: 0 / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.3573, allocations: 0 / 1.294 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3573, allocations: 4 kB / 1.294 GB, free: 1.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.3577, allocations: 293.5 kB / 1.294 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.423e-05/0.3577, allocations: 15.84 kB / 1.294 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.3577, allocations: 4 kB / 1.294 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3578, allocations: 4 kB / 1.294 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.3579, allocations: 27.95 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.3579, allocations: 4 kB / 1.294 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001035/0.358, allocations: 119.2 kB / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.358, allocations: 0 / 1.295 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003952/0.3584, allocations: 83.89 kB / 1.295 GB, free: 0.5273 MB / 0.9825 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.0007411/0.3591, allocations: 0.8279 MB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008041/0.3599, allocations: 0.548 MB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3599, allocations: 0 / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.36, allocations: 63.91 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004929/0.3605, allocations: 51.88 kB / 1.296 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/0.3651, allocations: 3.036 MB / 1.299 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004249/0.3656, allocations: 0.7281 MB / 1.3 GB, free: 10.99 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001034/0.3657, allocations: 21.48 kB / 1.3 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.209e-05/0.3658, allocations: 55.42 kB / 1.3 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of SimCode: time 9.81e-07/0.3658, allocations: 0 / 1.3 GB, free: 10.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.3969, allocations: 6.621 MB / 1.306 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.99, allocations: 7.469 kB / 1.306 GB, free: 4.48 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_MultiAnd.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.MultiAnd.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.829726048978046] Failed to read output from testmodel.py, exit status != 0: 12.676125742960721 12.182373003 11.830554771 Calling exit ...