Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.0007901/0.0007901, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.000905/0.000905, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 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.9454/0.9454, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.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.891/1.891, allocations: 0.5046 GB / 0.8104 GB, free: 2.773 MB / 0.6511 GB " [Timeout remaining time 177] 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.Or,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00098/0.00098, allocations: 71.89 kB / 1.177 GB, free: 11.96 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7704/0.7714, allocations: 180 MB / 1.352 GB, free: 1.629 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.001445/0.7728, allocations: 0.6566 MB / 1.353 GB, free: 0.9766 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.774, allocations: 1.194 MB / 1.354 GB, free: 15.77 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.774, allocations: 7.938 kB / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.711e-05/0.774, allocations: 0 / 1.354 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.7741, allocations: 11.88 kB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.7746, allocations: 222 kB / 1.354 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.7748, allocations: 171.7 kB / 1.355 GB, free: 15.37 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.292e-05/0.7749, allocations: 11.98 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.217e-05/0.775, allocations: 71.84 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.7751, allocations: 55.84 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.318e-05/0.7751, allocations: 12 kB / 1.355 GB, free: 15.22 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.524e-05/0.7752, allocations: 31.98 kB / 1.355 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.215e-05/0.7752, allocations: 7.984 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.422e-05/0.7752, allocations: 55.83 kB / 1.355 GB, free: 15.13 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.7754, allocations: 153.8 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.7754, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.7754, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.7754, allocations: 0 / 1.355 GB, free: 14.98 MB / 1.042 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.0004057/0.7758, allocations: 359.3 kB / 1.355 GB, free: 14.59 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.7759, allocations: 12.92 kB / 1.355 GB, free: 14.57 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.539e-05/0.7759, allocations: 30.75 kB / 1.355 GB, free: 14.54 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.7759, allocations: 16.89 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.004e-05/0.776, allocations: 114.4 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.776, allocations: 8.312 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.7761, allocations: 12.36 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.468e-05/0.7762, allocations: 54.19 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.7762, allocations: 3.938 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.7762, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.7762, allocations: 0 / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.234e-05/0.7762, allocations: 15.98 kB / 1.356 GB, free: 14.29 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.7766, allocations: 299.9 kB / 1.356 GB, free: 13.95 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.593e-05/0.7767, allocations: 30.61 kB / 1.356 GB, free: 13.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.398e-05/0.7767, allocations: 20.84 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 8.686e-06/0.7767, allocations: 0 / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.7769, allocations: 79.38 kB / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7769, allocations: 0 / 1.356 GB, free: 13.8 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0001995/0.7771, allocations: 109.5 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.7771, allocations: 51.41 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.592e-05/0.7772, allocations: 121.8 kB / 1.356 GB, free: 13.49 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.7772, allocations: 37.7 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.787e-05/0.7772, allocations: 92.14 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.7772, allocations: 11.89 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-05/0.7773, allocations: 49.69 kB / 1.356 GB, free: 13.29 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.7774, allocations: 322.8 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.7775, allocations: 123.4 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.7776, allocations: 151.7 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.7778, allocations: 168 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7778, allocations: 4 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004175/0.7782, allocations: 328.2 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.436e-05/0.7782, allocations: 67.39 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7782, allocations: 4.062 kB / 1.358 GB, free: 12.03 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.7783, allocations: 4 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.919e-05/0.7783, allocations: 0 / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.7783, allocations: 7.984 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002008/0.7785, allocations: 56 kB / 1.358 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.7785, allocations: 12 kB / 1.358 GB, free: 11.95 MB / 1.042 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,or1.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 7.576e-05/0.7786, allocations: 130.2 kB / 1.358 GB, free: 11.81 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.7786, allocations: 7.953 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.7786, allocations: 8.375 kB / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.7786, allocations: 0 / 1.358 GB, free: 11.8 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.7786, allocations: 7.938 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.7786, allocations: 0 / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.731e-05/0.7787, allocations: 148.7 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7787, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.7787, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7787, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.7787, allocations: 4 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7787, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.7787, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001166/0.7788, allocations: 117.2 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.405e-06/0.7789, allocations: 7.953 kB / 1.358 GB, free: 11.46 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.7789, allocations: 3.984 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.488e-05/0.7789, allocations: 0 / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.327e-05/0.7789, allocations: 12 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.641e-06/0.7789, allocations: 3.984 kB / 1.358 GB, free: 11.44 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.523e-05/0.779, allocations: 91.22 kB / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.779, allocations: 0 / 1.358 GB, free: 11.35 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001605/0.7791, allocations: 31.98 kB / 1.358 GB, free: 11.32 MB / 1.042 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,or1.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.0003198/0.7794, allocations: 0.6631 MB / 1.359 GB, free: 10.62 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002533/0.7797, allocations: 278.1 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7797, allocations: 0 / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.952e-05/0.7797, allocations: 20.25 kB / 1.359 GB, free: 10.3 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001845/0.7799, allocations: 15.98 kB / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7813, allocations: 1.958 MB / 1.361 GB, free: 8.148 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.789e-05/0.7814, allocations: 78.08 kB / 1.361 GB, free: 8.055 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.7814, allocations: 11.64 kB / 1.361 GB, free: 8.043 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.576e-05/0.7814, allocations: 27.42 kB / 1.361 GB, free: 8.016 MB / 1.042 GB Notification: Performance of SimCode: time 4.61e-07/0.7814, allocations: 0 / 1.361 GB, free: 8.016 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08759/0.869, allocations: 3.625 MB / 1.365 GB, free: 4.566 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.865, allocations: 10.75 kB / 1.365 GB, free: 4.559 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Or_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.729322051629424]