Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008054/0.0008054, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.001082/0.001082, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.9014/0.9014, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6037 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.588e-06/4.588e-06, allocations: 4 kB / 0.9505 GB, free: 3.457 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/3.015e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.453 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.001479/0.001509, allocations: 0.7285 MB / 0.9512 GB, free: 2.719 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.002758, allocations: 1.093 MB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.297e-05/0.002811, allocations: 3.938 kB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.002855, allocations: 7.875 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.158e-05/0.002937, allocations: 7.875 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.003303, allocations: 55.75 kB / 0.9524 GB, free: 1.539 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.003424, allocations: 75.77 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.003555, allocations: 12.17 kB / 0.9525 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001039/0.003659, allocations: 43.89 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.822e-05/0.003717, allocations: 23.97 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.00374, allocations: 8 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 7.308e-05/0.003813, allocations: 19.94 kB / 0.9525 GB, free: 1.355 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.003837, allocations: 15.91 kB / 0.9526 GB, free: 1.34 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.003877, allocations: 23.92 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.004046, allocations: 87.72 kB / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.004051, allocations: 0 / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.144e-06/0.004053, allocations: 0 / 0.9527 GB, free: 1.23 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.004058, allocations: 4 kB / 0.9527 GB, free: 1.227 MB / 0.9011 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.0004986/0.004557, allocations: 298 kB / 0.953 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.004607, allocations: 16.03 kB / 0.953 GB, free: 0.8906 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.004644, allocations: 42.67 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.004681, allocations: 8.891 kB / 0.953 GB, free: 0.832 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.923e-05/0.00478, allocations: 113.7 kB / 0.9531 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.004792, allocations: 4.375 kB / 0.9531 GB, free: 0.6914 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.004805, allocations: 8.375 kB / 0.9531 GB, free: 0.6836 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.004966, allocations: 70.16 kB / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.004975, allocations: 192 / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.004984, allocations: 384 / 0.9532 GB, free: 0.6094 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.004991, allocations: 3.938 kB / 0.9532 GB, free: 0.6055 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.701e-05/0.005078, allocations: 47.95 kB / 0.9533 GB, free: 0.5586 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004548/0.005533, allocations: 275.9 kB / 0.9535 GB, free: 252 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.005655, allocations: 54.48 kB / 0.9536 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.005709, allocations: 24.97 kB / 0.9536 GB, free: 160 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.005732, allocations: 4 kB / 0.9536 GB, free: 156 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.005911, allocations: 95.33 kB / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.005912, allocations: 0 / 0.9537 GB, free: 48 kB / 0.9011 GB Notification: Performance of matching and sorting (n=7): time 0.0002854/0.006198, allocations: 121.6 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.006236, allocations: 55.41 kB / 0.9539 GB, free: 15.86 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.655e-05/0.006313, allocations: 129.8 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.006325, allocations: 29.64 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.006367, allocations: 88.14 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.006383, allocations: 23.83 kB / 0.9541 GB, free: 15.57 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/0.006422, allocations: 33.7 kB / 0.9542 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.006502, allocations: 314.8 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.391e-05/0.006566, allocations: 27.97 kB / 0.9545 GB, free: 15.19 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.006641, allocations: 82.34 kB / 0.9546 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.006777, allocations: 109.8 kB / 0.9547 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.006781, allocations: 4 kB / 0.9547 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001792/0.00696, allocations: 137.6 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.006978, allocations: 6.656 kB / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.006983, allocations: 0 / 0.9548 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.007, allocations: 4 kB / 0.9548 GB, free: 14.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.086e-05/0.00709, allocations: 15.98 kB / 0.9548 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.007099, allocations: 7.984 kB / 0.9548 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.06e-05/0.00714, allocations: 7.953 kB / 0.9548 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.007151, allocations: 4 kB / 0.9548 GB, free: 14.77 MB / 0.9167 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 8.152e-05/0.007233, allocations: 141.6 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.406e-06/0.007241, allocations: 7.984 kB / 0.955 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.007268, allocations: 8.438 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.007271, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.007277, allocations: 4 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.00728, allocations: 0 / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.007633, allocations: 337.5 kB / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.007634, allocations: 0 / 0.9553 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.201e-05/0.007666, allocations: 12 kB / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.007669, allocations: 0 / 0.9553 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.007679, allocations: 7.984 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.007681, allocations: 0 / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.007682, allocations: 3.938 kB / 0.9553 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001703/0.007853, allocations: 203.8 kB / 0.9555 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.003e-05/0.007863, allocations: 11.89 kB / 0.9555 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.007878, allocations: 3.984 kB / 0.9555 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.049e-05/0.007918, allocations: 4 kB / 0.9556 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.931e-05/0.007957, allocations: 11.98 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.007965, allocations: 3.938 kB / 0.9556 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002042/0.008169, allocations: 103.4 kB / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008169, allocations: 0 / 0.9557 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001799/0.008349, allocations: 12 kB / 0.9557 GB, free: 13.83 MB / 0.9167 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.0004139/0.008763, allocations: 0.7398 MB / 0.9564 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.008945, allocations: 88.05 kB / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.008947, allocations: 0 / 0.9565 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.801e-05/0.009005, allocations: 31.97 kB / 0.9565 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002063/0.009211, allocations: 15.88 kB / 0.9565 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.01038, allocations: 1.52 MB / 0.958 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.094e-05/0.01043, allocations: 71.33 kB / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.247e-05/0.01047, allocations: 4 kB / 0.9581 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.758e-05/0.01051, allocations: 24.48 kB / 0.9581 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of SimCode: time 6.32e-07/0.01051, allocations: 0 / 0.9581 GB, free: 11.17 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01889/0.02941, allocations: 2.827 MB / 0.9609 GB, free: 8.5 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.747/6.776, allocations: 7.234 kB / 0.9609 GB, free: 8.496 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.832116899080575]