Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005034/0.005034, allocations: 96.72 kB / 15.73 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 186.2 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7106 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 68.12 kB / 1.018 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.266, allocations: 151.6 MB / 1.166 GB, free: 7.23 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.001722/0.2678, allocations: 0.7424 MB / 1.167 GB, free: 6.48 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.269, allocations: 1.077 MB / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.016e-05/0.2691, allocations: 0 / 1.168 GB, free: 5.387 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.532e-05/0.2691, allocations: 7.938 kB / 1.168 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.2692, allocations: 15.86 kB / 1.168 GB, free: 5.363 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2694, allocations: 51.83 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.2695, allocations: 67.78 kB / 1.168 GB, free: 5.246 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.2696, allocations: 28.16 kB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.819e-05/0.2697, allocations: 31.86 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.047e-05/0.2698, allocations: 31.84 kB / 1.168 GB, free: 5.152 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.2698, allocations: 8 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.332e-05/0.2699, allocations: 23.98 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.2699, allocations: 19.91 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.27, allocations: 27.86 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001345/0.2701, allocations: 75.97 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2701, allocations: 4 kB / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2701, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2701, allocations: 0 / 1.168 GB, free: 4.996 MB / 0.92 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.0005196/0.2706, allocations: 379.2 kB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2707, allocations: 8.031 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.2707, allocations: 42.73 kB / 1.169 GB, free: 4.52 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.29e-05/0.2708, allocations: 12.89 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.2709, allocations: 176.2 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.2709, allocations: 384 / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.271, allocations: 4.375 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.2711, allocations: 73.97 kB / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.2712, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.2712, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.2712, allocations: 0 / 1.169 GB, free: 4.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.2714, allocations: 55.89 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.2719, allocations: 320.7 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.2721, allocations: 58.44 kB / 1.169 GB, free: 3.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.2722, allocations: 36.98 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2722, allocations: 4 kB / 1.169 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001884/0.2724, allocations: 83.31 kB / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.2725, allocations: 0 / 1.17 GB, free: 3.594 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0003932/0.2729, allocations: 125.6 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.2729, allocations: 55.41 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.465e-05/0.273, allocations: 121.7 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.273, allocations: 33.7 kB / 1.17 GB, free: 3.23 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.2731, allocations: 88.12 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.2731, allocations: 19.89 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-05/0.2732, allocations: 29.7 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2733, allocations: 322.8 kB / 1.17 GB, free: 2.762 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001067/0.2734, allocations: 31.98 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2736, allocations: 73.98 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002323/0.2738, allocations: 105.9 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2738, allocations: 3.938 kB / 1.171 GB, free: 2.508 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002969/0.2741, allocations: 137.5 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.2741, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2741, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2742, allocations: 4 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.2743, allocations: 19.98 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.2743, allocations: 7.938 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.449e-05/0.2744, allocations: 24.08 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.44e-05/0.2744, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 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.984e-05/0.2745, allocations: 123.5 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.19e-05/0.2745, allocations: 7.891 kB / 1.171 GB, free: 2.168 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.2745, allocations: 16.36 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2745, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.155e-06/0.2746, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2746, allocations: 0 / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004722/0.275, allocations: 374.4 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.275, allocations: 3.984 kB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.13e-05/0.2751, allocations: 8 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2751, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.2751, allocations: 4 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2751, allocations: 3.938 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.2751, allocations: 3.984 kB / 1.171 GB, free: 1.707 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.2754, allocations: 199.4 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.2755, allocations: 85.06 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.2755, allocations: 3.984 kB / 1.172 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.2756, allocations: 7.938 kB / 1.172 GB, free: 1.383 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.763e-05/0.2756, allocations: 15.92 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2756, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.982e-05/0.2757, allocations: 99.86 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2757, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002352/0.2759, allocations: 19.94 kB / 1.172 GB, free: 1.25 MB / 0.92 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.0006051/0.2766, allocations: 0.7358 MB / 1.172 GB, free: 500 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002652/0.2768, allocations: 83.86 kB / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2768, allocations: 0 / 1.172 GB, free: 416 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.277, allocations: 31.98 kB / 1.172 GB, free: 384 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.2772, allocations: 16.62 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.2789, allocations: 1.513 MB / 1.174 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002835/0.2792, allocations: 0.6924 MB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.034e-05/0.2792, allocations: 15.98 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.681e-05/0.2793, allocations: 19.44 kB / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2793, allocations: 0 / 1.175 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.555/1.834, allocations: 2.121 MB / 1.177 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/15.09, allocations: 8.141 kB / 1.177 GB, free: 12.03 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches