Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.0009502/0.0009502, allocations: 100.3 kB / 19.72 MB, free: 428 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.0011/0.0011, allocations: 215.3 kB / 23.03 MB, free: 2.969 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 1.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.936/1.936, allocations: 0.5045 GB / 0.8104 GB, free: 2.719 MB / 0.6511 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.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009142/0.0009142, allocations: 75.89 kB / 1.177 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7547/0.7556, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001526/0.7571, allocations: 0.7354 MB / 1.353 GB, free: 0.9102 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0009718/0.7581, allocations: 1.081 MB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.707e-05/0.7581, allocations: 0 / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.187e-05/0.7582, allocations: 15.88 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.252e-05/0.7582, allocations: 11.86 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.7585, allocations: 55.81 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.7586, allocations: 71.78 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.7587, allocations: 16.17 kB / 1.354 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.657e-05/0.7588, allocations: 31.91 kB / 1.354 GB, free: 15.61 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.858e-05/0.7588, allocations: 31.84 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.357e-05/0.7588, allocations: 8 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.837e-05/0.7589, allocations: 12 kB / 1.354 GB, free: 15.56 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.7589, allocations: 15.92 kB / 1.354 GB, free: 15.55 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.7589, allocations: 31.84 kB / 1.355 GB, free: 15.52 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.7591, allocations: 81.94 kB / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7591, allocations: 0 / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7591, allocations: 0 / 1.355 GB, free: 15.44 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.7591, allocations: 0 / 1.355 GB, free: 15.44 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003939/0.7595, allocations: 310.1 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.7595, allocations: 8.922 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.118e-05/0.7595, allocations: 38.69 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.7596, allocations: 8.891 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.757e-05/0.7596, allocations: 114.4 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.7597, allocations: 8.375 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.7597, allocations: 4.375 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001267/0.7598, allocations: 69.97 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.7598, allocations: 0 / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.7598, allocations: 8 kB / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.7598, allocations: 0 / 1.355 GB, free: 14.81 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.107e-05/0.7599, allocations: 47.83 kB / 1.355 GB, free: 14.77 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004008/0.7603, allocations: 283.8 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.7604, allocations: 54.58 kB / 1.356 GB, free: 14.38 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.925e-05/0.7605, allocations: 28.95 kB / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.7605, allocations: 0 / 1.356 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.7606, allocations: 79.36 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of pre-optimization done (n=7): time 8.22e-07/0.7606, allocations: 0 / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of matching and sorting (n=7): time 0.0002489/0.7609, allocations: 137.5 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.7609, allocations: 59.39 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.761, allocations: 125.7 kB / 1.356 GB, free: 13.92 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.761, allocations: 29.7 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.761, allocations: 100 kB / 1.356 GB, free: 13.78 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.433e-05/0.761, allocations: 11.91 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.7611, allocations: 29.7 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.296e-05/0.7611, allocations: 318.8 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/0.7612, allocations: 35.97 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.197e-05/0.7613, allocations: 73.98 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001214/0.7614, allocations: 109.8 kB / 1.357 GB, free: 13.16 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.7614, allocations: 4 kB / 1.357 GB, free: 13.15 MB / 1.042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001585/0.7615, allocations: 125.5 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.7616, allocations: 8 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7616, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.7616, allocations: 7.984 kB / 1.357 GB, free: 13.01 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.352e-05/0.7617, allocations: 24.14 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.7617, allocations: 4 kB / 1.357 GB, free: 12.98 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.7617, allocations: 8 kB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.7617, allocations: 7.984 kB / 1.357 GB, free: 12.96 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * 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.112e-05/0.7618, allocations: 126.2 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-06/0.7618, allocations: 7.938 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.742e-05/0.7618, allocations: 12.38 kB / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.7618, allocations: 0 / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.7618, allocations: 0 / 1.357 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.7618, allocations: 4 kB / 1.357 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.7621, allocations: 341.5 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.7621, allocations: 0 / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.7621, allocations: 15.92 kB / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.7621, allocations: 0 / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.7621, allocations: 0 / 1.357 GB, free: 12.41 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7621, allocations: 3.938 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7621, allocations: 3.938 kB / 1.357 GB, free: 12.4 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.7623, allocations: 211.4 kB / 1.357 GB, free: 12.18 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-06/0.7623, allocations: 11.89 kB / 1.357 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.588e-06/0.7623, allocations: 0 / 1.357 GB, free: 12.16 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.7623, allocations: 11.92 kB / 1.358 GB, free: 12.15 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.7624, allocations: 8 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.7624, allocations: 0 / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.476e-05/0.7624, allocations: 91.27 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7624, allocations: 4 kB / 1.358 GB, free: 12.05 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001662/0.7626, allocations: 12 kB / 1.358 GB, free: 12.04 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: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.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.0003464/0.7629, allocations: 0.7475 MB / 1.358 GB, free: 11.27 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.7631, allocations: 67.89 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.7631, allocations: 4 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.7631, allocations: 32.34 kB / 1.358 GB, free: 11.16 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.7633, allocations: 19.94 kB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.7643, allocations: 1.513 MB / 1.36 GB, free: 9.512 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.847e-05/0.7644, allocations: 90.88 kB / 1.36 GB, free: 9.402 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.508e-05/0.7644, allocations: 7.781 kB / 1.36 GB, free: 9.395 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.7645, allocations: 23.42 kB / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of SimCode: time 3e-07/0.7645, allocations: 0 / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1147/0.8792, allocations: 2.706 MB / 1.363 GB, free: 6.82 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/8.062, allocations: 0 / 1.363 GB, free: 6.82 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_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_Sources_Validation_SampleTrigger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.858806948177516]