Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.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.001242/0.001242, allocations: 117.3 kB / 17.16 MB, free: 5.914 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.001301/0.001301, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.839/2.839, allocations: 476.7 MB / 0.7678 GB, free: 9.461 MB / 0.6075 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.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",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.001989/0.001989, allocations: 67.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.184/1.186, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002166/1.188, allocations: 0.6497 MB / 1.28 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002046/1.19, allocations: 1.23 MB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/1.19, allocations: 0 / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.906e-05/1.19, allocations: 3.938 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.122e-05/1.19, allocations: 20.34 kB / 1.281 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000751/1.191, allocations: 220.7 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002877/1.191, allocations: 171.3 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.867e-05/1.191, allocations: 4.719 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/1.191, allocations: 72.23 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/1.192, allocations: 61.75 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.779e-05/1.192, allocations: 14.75 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.462e-05/1.192, allocations: 36.94 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.857e-05/1.192, allocations: 12.61 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/1.192, allocations: 53.33 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003108/1.192, allocations: 153.5 kB / 1.282 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/1.192, allocations: 0.5938 kB / 1.282 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.694e-06/1.192, allocations: 0 / 1.282 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.541e-06/1.192, allocations: 0.5 kB / 1.282 GB, free: 10.1 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006843/1.193, allocations: 435.8 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.662e-05/1.193, allocations: 9.781 kB / 1.282 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.441e-05/1.193, allocations: 5.188 kB / 1.282 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/1.193, allocations: 32.61 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.61e-05/1.193, allocations: 8.734 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/1.193, allocations: 172.4 kB / 1.282 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/1.193, allocations: 9.469 kB / 1.282 GB, free: 9.406 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.496e-05/1.193, allocations: 13.97 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001472/1.193, allocations: 49.69 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/1.193, allocations: 0 / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/1.193, allocations: 1.062 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/1.193, allocations: 5.031 kB / 1.282 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/1.194, allocations: 21.66 kB / 1.282 GB, free: 9.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000654/1.194, allocations: 350.7 kB / 1.283 GB, free: 9.043 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/1.194, allocations: 33.14 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/1.194, allocations: 15.34 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.706e-06/1.194, allocations: 1.219 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/1.195, allocations: 93.06 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/1.195, allocations: 1.312 kB / 1.283 GB, free: 8.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003122/1.195, allocations: 99.16 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/1.195, allocations: 53.62 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.195, allocations: 124.3 kB / 1.283 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.879e-05/1.195, allocations: 34.72 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.695e-05/1.195, allocations: 93.59 kB / 1.283 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.966e-05/1.195, allocations: 11.52 kB / 1.283 GB, free: 8.57 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.195, allocations: 53.09 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001555/1.195, allocations: 322.1 kB / 1.284 GB, free: 8.223 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/1.196, allocations: 60.58 kB / 1.284 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/1.196, allocations: 88.98 kB / 1.284 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002355/1.196, allocations: 165.8 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.196, allocations: 1.031 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005154/1.197, allocations: 264.6 kB / 1.284 GB, free: 7.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.854e-05/1.197, allocations: 69.73 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/1.197, allocations: 1.438 kB / 1.284 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.197, allocations: 6.109 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.603e-05/1.197, allocations: 3.578 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/1.197, allocations: 1.438 kB / 1.284 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003751/1.197, allocations: 56.42 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-05/1.197, allocations: 11.98 kB / 1.284 GB, free: 7.77 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,nor1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001401/1.197, allocations: 132.3 kB / 1.284 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/1.197, allocations: 12.5 kB / 1.284 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/1.197, allocations: 6.266 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/1.197, allocations: 1.859 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.197, allocations: 0 / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/1.197, allocations: 0.75 kB / 1.284 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000183/1.197, allocations: 182.9 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.197, allocations: 0.7031 kB / 1.285 GB, free: 7.418 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/1.197, allocations: 5.391 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.197, allocations: 1.828 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/1.198, allocations: 2.312 kB / 1.285 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/1.198, allocations: 4 kB / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/1.198, allocations: 0 / 1.285 GB, free: 7.41 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/1.198, allocations: 112.3 kB / 1.285 GB, free: 7.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.439e-05/1.198, allocations: 82.7 kB / 1.285 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/1.198, allocations: 10.58 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.068e-05/1.198, allocations: 1.609 kB / 1.285 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/1.198, allocations: 9.375 kB / 1.285 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.756e-06/1.198, allocations: 7.234 kB / 1.285 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.821e-05/1.198, allocations: 97.97 kB / 1.285 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.198, allocations: 0 / 1.285 GB, free: 7.125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002569/1.198, allocations: 36.12 kB / 1.285 GB, free: 7.117 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,nor1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005757/1.199, allocations: 0.6488 MB / 1.286 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003855/1.199, allocations: 220.1 kB / 1.286 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.199, allocations: 0 / 1.286 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.549e-05/1.199, allocations: 24.5 kB / 1.286 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/1.199, allocations: 21.75 kB / 1.286 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002281/1.202, allocations: 1.716 MB / 1.287 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/1.202, allocations: 0.6861 MB / 1.288 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.486e-05/1.202, allocations: 5.969 kB / 1.288 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/1.202, allocations: 20.61 kB / 1.288 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/1.202, allocations: 0 / 1.288 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02137/1.223, allocations: 2.941 MB / 1.291 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.475/9.699, allocations: 2.875 kB / 1.291 GB, free: 3.664 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.030110405001324] Failed to read output from testmodel.py, exit status != 0: 9.825410366989672 9.852621352 8.655738963 Calling exit ...