Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001275/0.001275, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001333/0.001333, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.9413/0.9413, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.909/1.909, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Nor,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 1.001 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.679e-05, allocations: 5.797 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Nor): time 0.001141/0.001158, allocations: 0.6492 MB / 1.001 GB, free: 12.88 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.002269, allocations: 1.202 MB / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.002308, allocations: 0 / 1.002 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.443e-05/0.002332, allocations: 7.875 kB / 1.002 GB, free: 11.66 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.255e-05/0.002395, allocations: 11.92 kB / 1.003 GB, free: 11.65 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.002846, allocations: 222.5 kB / 1.003 GB, free: 11.44 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001657/0.003011, allocations: 171.7 kB / 1.003 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.514e-05/0.003096, allocations: 8 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.003196, allocations: 99.84 kB / 1.003 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 9.362e-05/0.00329, allocations: 47.86 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.003317, allocations: 16 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.00337, allocations: 27.98 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.141e-05/0.003392, allocations: 19.86 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.364e-05/0.003445, allocations: 51.95 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.003619, allocations: 187.5 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003621, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.11e-07/0.003622, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.003626, allocations: 0 / 1.003 GB, free: 10.82 MB / 0.9636 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.0004049/0.004031, allocations: 365.5 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.004071, allocations: 13.33 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.004098, allocations: 30.75 kB / 1.004 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.004138, allocations: 8.938 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.824e-05/0.004216, allocations: 113.7 kB / 1.004 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.004229, allocations: 8.375 kB / 1.004 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.068e-05/0.004249, allocations: 12.38 kB / 1.004 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.53e-05/0.004345, allocations: 54.17 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.004352, allocations: 192 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.00436, allocations: 384 / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/0.004366, allocations: 4.125 kB / 1.004 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.342e-05/0.004399, allocations: 15.98 kB / 1.004 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003845/0.004783, allocations: 291.9 kB / 1.004 GB, free: 9.797 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.169e-05/0.004855, allocations: 30.58 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.55e-05/0.004881, allocations: 16.88 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.606e-06/0.004889, allocations: 7.938 kB / 1.004 GB, free: 9.73 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.005025, allocations: 87.31 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.005026, allocations: 0 / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0001996/0.005226, allocations: 101.7 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.005256, allocations: 55.34 kB / 1.004 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.957e-05/0.005325, allocations: 125.7 kB / 1.005 GB, free: 9.328 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.005347, allocations: 29.7 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.464e-05/0.005391, allocations: 92.14 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.253e-05/0.005404, allocations: 19.83 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.004e-05/0.005464, allocations: 53.67 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.91e-05/0.005533, allocations: 314.8 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001121/0.005645, allocations: 123.4 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.005762, allocations: 155.7 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001202/0.005883, allocations: 155.6 kB / 1.006 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.005885, allocations: 3.938 kB / 1.006 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002949/0.00618, allocations: 328.3 kB / 1.006 GB, free: 7.957 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.552e-05/0.006216, allocations: 71.42 kB / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.00622, allocations: 0 / 1.006 GB, free: 7.875 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.006233, allocations: 4 kB / 1.006 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.463e-05/0.006248, allocations: 3.938 kB / 1.006 GB, free: 7.867 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.006253, allocations: 4 kB / 1.006 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001888/0.006442, allocations: 55.92 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.006461, allocations: 8 kB / 1.006 GB, free: 7.801 MB / 0.9636 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 6.914e-05/0.006531, allocations: 136.3 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.704e-06/0.006538, allocations: 7.953 kB / 1.006 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.817e-05/0.006556, allocations: 8.906 kB / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006558, allocations: 0 / 1.006 GB, free: 7.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.006562, allocations: 4 kB / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.006565, allocations: 0 / 1.006 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.077e-05/0.006646, allocations: 144.7 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006646, allocations: 3.938 kB / 1.006 GB, free: 7.453 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.477e-06/0.00665, allocations: 3.938 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.006651, allocations: 0 / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.006658, allocations: 8 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006659, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.006659, allocations: 0 / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.506e-05/0.006754, allocations: 117 kB / 1.006 GB, free: 7.309 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.985e-06/0.006762, allocations: 7.953 kB / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.006772, allocations: 0 / 1.006 GB, free: 7.301 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.352e-05/0.006785, allocations: 7.984 kB / 1.006 GB, free: 7.293 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.006817, allocations: 4 kB / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.006821, allocations: 0 / 1.006 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.849e-05/0.00686, allocations: 95.2 kB / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.00686, allocations: 0 / 1.006 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001582/0.007018, allocations: 39.94 kB / 1.007 GB, free: 7.156 MB / 0.9636 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.0002882/0.007306, allocations: 0.6514 MB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.007679, allocations: 278.1 kB / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.007681, allocations: 0 / 1.007 GB, free: 6.164 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.00771, allocations: 23.92 kB / 1.007 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001658/0.007876, allocations: 16.23 kB / 1.007 GB, free: 6.125 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001433/0.009308, allocations: 1.965 MB / 1.009 GB, free: 3.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.762e-05/0.009346, allocations: 67.34 kB / 1.009 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.134e-05/0.009367, allocations: 7.859 kB / 1.009 GB, free: 3.895 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.009401, allocations: 28.47 kB / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.009402, allocations: 96 / 1.009 GB, free: 3.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07644/0.08585, allocations: 3.739 MB / 1.013 GB, free: 316 kB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.279/7.365, allocations: 13.89 kB / 1.013 GB, free: 308 kB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Nor.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Nor_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.078106448985636]