Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.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.001886/0.001886, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.002112/0.002112, allocations: 215 kB / 23.03 MB, free: 4.922 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.458/1.458, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.17/3.17, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr",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.001925/0.001925, allocations: 70.8 kB / 1.155 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3764, allocations: 176.1 MB / 1.327 GB, free: 1.648 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr): time 0.002111/0.3785, allocations: 0.7964 MB / 1.327 GB, free: 0.8555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002066/0.3806, allocations: 1.506 MB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.131e-05/0.3806, allocations: 4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.3808, allocations: 19.8 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.037e-05/0.3808, allocations: 31.72 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.3822, allocations: 0.5189 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005828/0.3827, allocations: 475.2 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001549/0.3829, allocations: 33.66 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.3831, allocations: 183.7 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.3834, allocations: 179.5 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.614e-05/0.3834, allocations: 40 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3836, allocations: 55.98 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.3836, allocations: 35.92 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.3838, allocations: 163.5 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004727/0.3843, allocations: 411 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3843, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3843, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3843, allocations: 0 / 1.331 GB, free: 13.23 MB / 1.029 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.0008277/0.3851, allocations: 0.58 MB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.3852, allocations: 12.03 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.681e-05/0.3852, allocations: 4.188 kB / 1.332 GB, free: 12.57 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.952e-05/0.3852, allocations: 38.75 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.3854, allocations: 32.83 kB / 1.332 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3857, allocations: 206.2 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.3857, allocations: 24.3 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.3858, allocations: 32.38 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/0.3861, allocations: 151.6 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3861, allocations: 3.938 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.3861, allocations: 0 / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3861, allocations: 4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3863, allocations: 87.94 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000876/0.3872, allocations: 0.597 MB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.3873, allocations: 94.47 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.404e-05/0.3874, allocations: 36.84 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.261e-05/0.3874, allocations: 4 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003099/0.3877, allocations: 167.2 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.502e-06/0.3877, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000475/0.3882, allocations: 243 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3883, allocations: 55.41 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.3884, allocations: 182.7 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.146e-05/0.3885, allocations: 45.7 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/0.3887, allocations: 124.6 kB / 1.334 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.3887, allocations: 39.75 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002087/0.3889, allocations: 113.6 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.3891, allocations: 330.8 kB / 1.334 GB, free: 9.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004255/0.3895, allocations: 308.4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000574/0.3901, allocations: 392.8 kB / 1.335 GB, free: 9.039 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.3906, allocations: 417.2 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.3906, allocations: 4 kB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001159/0.3917, allocations: 0.7754 MB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/0.3919, allocations: 172.4 kB / 1.336 GB, free: 7.52 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3919, allocations: 4 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3919, allocations: 4 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.099e-05/0.392, allocations: 8.281 kB / 1.336 GB, free: 7.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.392, allocations: 11.94 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007573/0.3927, allocations: 131.7 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.3928, allocations: 39.97 kB / 1.336 GB, free: 7.324 MB / 1.029 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,mulOr5.uTemp[4],mulOr5.uTemp[3],mulOr5.uTemp[2],mulOr5.y,mulOr2.y,mulOr0.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.0002095/0.393, allocations: 154 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.3931, allocations: 19.84 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.885e-05/0.3931, allocations: 21.8 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3931, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3931, allocations: 0 / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3931, allocations: 4 kB / 1.336 GB, free: 7.113 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.3938, allocations: 478.5 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3938, allocations: 8 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.3938, allocations: 3.938 kB / 1.337 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.3938, allocations: 4 kB / 1.337 GB, free: 6.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.3938, allocations: 7.984 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3938, allocations: 4 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3938, allocations: 96 / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3941, allocations: 281.1 kB / 1.337 GB, free: 6.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.301e-05/0.3942, allocations: 15.89 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.3942, allocations: 4 kB / 1.337 GB, free: 6.262 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.833e-05/0.3943, allocations: 8 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.609e-05/0.3943, allocations: 19.97 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.3943, allocations: 11.98 kB / 1.337 GB, free: 6.223 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.587e-05/0.3944, allocations: 119.2 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3944, allocations: 3.938 kB / 1.337 GB, free: 6.102 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003716/0.3948, allocations: 83.89 kB / 1.337 GB, free: 6.02 MB / 1.029 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 (mulOr5.uTemp[2],$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,mulOr2.y,mulOr5.y,mulOr5.uTemp[3],mulOr5.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.0006986/0.3955, allocations: 0.827 MB / 1.338 GB, free: 5.168 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008686/0.3964, allocations: 0.6932 MB / 1.339 GB, free: 4.383 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3964, allocations: 8.062 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3965, allocations: 61.97 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.397, allocations: 43.97 kB / 1.339 GB, free: 4.273 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004707/0.4017, allocations: 3.645 MB / 1.343 GB, free: 332 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.4018, allocations: 112.1 kB / 1.343 GB, free: 200 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.984e-05/0.4019, allocations: 29.47 kB / 1.343 GB, free: 172 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.402, allocations: 55.42 kB / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.402, allocations: 0 / 1.343 GB, free: 116 kB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02992/0.4319, allocations: 7.083 MB / 1.35 GB, free: 9.305 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.31, allocations: 4.062 kB / 1.35 GB, free: 9.301 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_MultiOr.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.MultiOr.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.019768681027927] Failed to read output from testmodel.py, exit status != 0: 12.486702558002435 12.502967099 12.115574683 Calling exit ...