Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001331/0.001331, allocations: 101.3 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.001608/0.001608, allocations: 223 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.212/3.212, 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.Nor,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_latest_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.001996/0.001996, allocations: 65.88 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4106, allocations: 179 MB / 1.345 GB, free: 0 / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.002165/0.4128, allocations: 0.6412 MB / 1.346 GB, free: 15.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001713/0.4145, allocations: 1.206 MB / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.866e-05/0.4145, allocations: 0 / 1.347 GB, free: 14.14 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.447e-05/0.4146, allocations: 11.86 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.951e-05/0.4146, allocations: 7.875 kB / 1.347 GB, free: 14.12 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006947/0.4153, allocations: 227.1 kB / 1.347 GB, free: 13.9 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002728/0.4156, allocations: 171.8 kB / 1.347 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4157, allocations: 8 kB / 1.348 GB, free: 13.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.4159, allocations: 67.89 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001724/0.416, allocations: 63.84 kB / 1.348 GB, free: 13.6 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 3.795e-05/0.4161, allocations: 16 kB / 1.348 GB, free: 13.58 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.693e-05/0.4162, allocations: 31.92 kB / 1.348 GB, free: 13.55 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.4162, allocations: 11.94 kB / 1.348 GB, free: 13.54 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.4163, allocations: 59.88 kB / 1.348 GB, free: 13.48 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000254/0.4166, allocations: 151.9 kB / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4166, allocations: 0 / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4166, allocations: 0 / 1.348 GB, free: 13.33 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.4166, allocations: 0 / 1.348 GB, free: 13.33 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000602/0.4172, allocations: 361.4 kB / 1.348 GB, free: 12.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4172, allocations: 12.03 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.621e-05/0.4172, allocations: 4.125 kB / 1.348 GB, free: 12.92 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.4173, allocations: 34.73 kB / 1.348 GB, free: 12.88 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.4173, allocations: 12.89 kB / 1.348 GB, free: 12.86 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.4174, allocations: 110.5 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.4175, allocations: 8.375 kB / 1.348 GB, free: 12.72 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.4175, allocations: 8.375 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001292/0.4176, allocations: 61.92 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.4176, allocations: 0 / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.4176, allocations: 0 / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.4176, allocations: 0 / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.4177, allocations: 16 kB / 1.348 GB, free: 12.63 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005238/0.4182, allocations: 303.8 kB / 1.349 GB, free: 12.29 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.4183, allocations: 30.52 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.263e-05/0.4183, allocations: 20.94 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.4183, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.4185, allocations: 79.38 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4185, allocations: 0 / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of matching and sorting (n=7): time 0.0002663/0.4188, allocations: 109.5 kB / 1.349 GB, free: 12.03 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.4188, allocations: 51.41 kB / 1.349 GB, free: 11.96 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.419, allocations: 117.8 kB / 1.349 GB, free: 11.84 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.612e-05/0.419, allocations: 29.7 kB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.4191, allocations: 96.09 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.4191, allocations: 11.91 kB / 1.349 GB, free: 11.7 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.4192, allocations: 53.69 kB / 1.349 GB, free: 11.64 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.4193, allocations: 326.8 kB / 1.35 GB, free: 11.31 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.4195, allocations: 119.4 kB / 1.35 GB, free: 11.18 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4197, allocations: 152 kB / 1.35 GB, free: 11 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.4199, allocations: 163.6 kB / 1.35 GB, free: 10.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.42, allocations: 3.984 kB / 1.35 GB, free: 10.81 MB / 1.045 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005097/0.4205, allocations: 328.3 kB / 1.35 GB, free: 10.46 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/0.4205, allocations: 67.39 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4205, allocations: 0 / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4206, allocations: 7.938 kB / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.037e-05/0.4206, allocations: 0 / 1.35 GB, free: 10.38 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4206, allocations: 4 kB / 1.35 GB, free: 10.37 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.4209, allocations: 51.89 kB / 1.351 GB, free: 10.32 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.421, allocations: 16.11 kB / 1.351 GB, free: 10.3 MB / 1.045 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.0001505/0.4211, allocations: 133.7 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.823e-05/0.4211, allocations: 11.94 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.4212, allocations: 4.375 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.4212, allocations: 4 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4212, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.4212, allocations: 0 / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001535/0.4213, allocations: 148.7 kB / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4213, allocations: 0 / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.175e-06/0.4213, allocations: 0 / 1.351 GB, free: 9.953 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.4213, allocations: 4 kB / 1.351 GB, free: 9.949 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4213, allocations: 8.062 kB / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4213, allocations: 0 / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4213, allocations: 0 / 1.351 GB, free: 9.941 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4215, allocations: 117 kB / 1.351 GB, free: 9.809 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.4215, allocations: 7.984 kB / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.4215, allocations: 0 / 1.351 GB, free: 9.801 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.4216, allocations: 3.938 kB / 1.351 GB, free: 9.797 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.4216, allocations: 11.98 kB / 1.351 GB, free: 9.785 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.4216, allocations: 4 kB / 1.351 GB, free: 9.781 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.364e-05/0.4217, allocations: 95.2 kB / 1.351 GB, free: 9.688 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4217, allocations: 4 kB / 1.351 GB, free: 9.684 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002329/0.4219, allocations: 27.94 kB / 1.351 GB, free: 9.656 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: 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.0005068/0.4224, allocations: 0.6476 MB / 1.352 GB, free: 8.98 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003834/0.4228, allocations: 274.1 kB / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4228, allocations: 0 / 1.352 GB, free: 8.676 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 4.525e-05/0.4229, allocations: 23.92 kB / 1.352 GB, free: 8.652 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.4231, allocations: 20.86 kB / 1.352 GB, free: 8.633 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.4254, allocations: 1.971 MB / 1.354 GB, free: 6.488 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.033e-05/0.4254, allocations: 71.33 kB / 1.354 GB, free: 6.398 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 2.867e-05/0.4255, allocations: 7.781 kB / 1.354 GB, free: 6.391 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.4255, allocations: 19.44 kB / 1.354 GB, free: 6.371 MB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.4255, allocations: 0 / 1.354 GB, free: 6.371 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.4492, allocations: 3.238 MB / 1.357 GB, free: 3.309 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.87, allocations: 7.766 kB / 1.357 GB, free: 3.305 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 18.781069004908204] Failed to read output from testmodel.py, exit status != 0: 12.04090437607374 12.0718779 11.650090423 Calling exit ...