Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.0007753/0.0007753, 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.0008036/0.0008036, 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.868/0.868, 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.803/1.803, 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.Edge,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.568e-05/2.855e-05, allocations: 9.594 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001361/0.001389, allocations: 0.7286 MB / 1.001 GB, free: 12.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00109/0.002479, allocations: 1.171 MB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.521e-05/0.002524, allocations: 0 / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.561e-05/0.00255, allocations: 3.938 kB / 1.003 GB, free: 11.6 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-05/0.002619, allocations: 19.86 kB / 1.003 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003994/0.003019, allocations: 130.9 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.003158, allocations: 115.8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.00325, allocations: 15.92 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.003352, allocations: 67.88 kB / 1.003 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.446e-05/0.003427, allocations: 35.94 kB / 1.003 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.003448, allocations: 11.94 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.462e-05/0.003502, allocations: 23.98 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.082e-05/0.003523, allocations: 8 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.107e-05/0.003574, allocations: 43.89 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.003734, allocations: 127.6 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.756e-06/0.003737, allocations: 0 / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003738, allocations: 3.938 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.003742, allocations: 0 / 1.003 GB, free: 11.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006969/0.004439, allocations: 331.8 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.004478, allocations: 13.34 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.093e-05/0.004508, allocations: 34.75 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.004545, allocations: 8.891 kB / 1.003 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.302e-05/0.004628, allocations: 117.7 kB / 1.004 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.00464, allocations: 8.375 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.536e-05/0.004655, allocations: 12.36 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.004789, allocations: 58.23 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.004796, allocations: 4.125 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.004805, allocations: 4.375 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.00481, allocations: 4.125 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.698e-05/0.004907, allocations: 43.95 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.00527, allocations: 271.9 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.005396, allocations: 66.55 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.005452, allocations: 28.91 kB / 1.004 GB, free: 9.891 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.907e-06/0.005461, allocations: 7.938 kB / 1.004 GB, free: 9.883 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001779/0.005639, allocations: 87.36 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 2.023e-06/0.005641, allocations: 0 / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0002802/0.005921, allocations: 149.5 kB / 1.004 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.005953, allocations: 51.41 kB / 1.004 GB, free: 9.57 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.015e-05/0.006023, allocations: 117.8 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.00604, allocations: 29.7 kB / 1.004 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.539e-05/0.006086, allocations: 96.08 kB / 1.005 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.006103, allocations: 19.91 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/0.006153, allocations: 37.7 kB / 1.005 GB, free: 9.25 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.724e-05/0.00623, allocations: 322.8 kB / 1.005 GB, free: 8.926 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.006347, allocations: 93.59 kB / 1.005 GB, free: 8.828 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.006457, allocations: 114 kB / 1.005 GB, free: 8.695 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001551/0.006612, allocations: 137.9 kB / 1.005 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.006615, allocations: 8 kB / 1.005 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000283/0.006898, allocations: 244.8 kB / 1.006 GB, free: 8.273 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/0.00693, allocations: 43.88 kB / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.006935, allocations: 0 / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.006947, allocations: 0 / 1.006 GB, free: 8.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.007009, allocations: 11.98 kB / 1.006 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.007015, allocations: 7.938 kB / 1.006 GB, free: 8.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.007124, allocations: 36.08 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.007138, allocations: 8 kB / 1.006 GB, free: 8.164 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: 10 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.218e-05/0.00721, allocations: 120.5 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.007221, allocations: 11.89 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.007245, allocations: 16.42 kB / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.007247, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007251, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007254, allocations: 0 / 1.006 GB, free: 8.012 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003155/0.00757, allocations: 353.8 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.007571, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.816e-05/0.0076, allocations: 7.984 kB / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.007602, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007609, allocations: 0 / 1.006 GB, free: 7.609 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.007612, allocations: 4 kB / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.007614, allocations: 0 / 1.006 GB, free: 7.605 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001689/0.007783, allocations: 207.3 kB / 1.006 GB, free: 7.387 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.007792, allocations: 11.94 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.007806, allocations: 7.984 kB / 1.006 GB, free: 7.367 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.457e-05/0.007851, allocations: 4 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.00789, allocations: 11.97 kB / 1.006 GB, free: 7.352 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/0.007897, allocations: 7.938 kB / 1.006 GB, free: 7.344 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.007932, allocations: 95.75 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007932, allocations: 0 / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001798/0.008112, allocations: 24 kB / 1.006 GB, free: 7.227 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0004162/0.008528, allocations: 0.7517 MB / 1.007 GB, free: 6.445 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002505/0.008779, allocations: 193 kB / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.00878, allocations: 0 / 1.007 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.008843, allocations: 35.97 kB / 1.007 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002077/0.009051, allocations: 16.17 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.01054, allocations: 1.817 MB / 1.009 GB, free: 4.23 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.912e-05/0.01059, allocations: 71.2 kB / 1.009 GB, free: 4.141 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.055e-05/0.01062, allocations: 11.98 kB / 1.009 GB, free: 4.129 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.01066, allocations: 16.5 kB / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of SimCode: time 9.41e-07/0.01066, allocations: 0 / 1.009 GB, free: 4.113 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09673/0.1074, allocations: 3.367 MB / 1.013 GB, free: 0.9062 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.67/7.778, allocations: 12.27 kB / 1.013 GB, free: 0.9023 MB / 0.9636 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_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_Edge.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.222107055597007]