Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_latest_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_latest_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/Buildings 10.0.0-master/package.mo): time 2.305/2.305, allocations: 390.3 MB / 402.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 221.3 MB / 0.7915 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000905/0.000905, allocations: 99.12 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.429e-05/5.441e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2862, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.318, allocations: 150 MB / 1.365 GB, free: 4.074 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002632/1.318, allocations: 76.8 kB / 1.365 GB, free: 4.035 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007359/1.326, allocations: 2.506 MB / 1.368 GB, free: 1.91 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.292e-06/1.326, allocations: 0 / 1.368 GB, free: 1.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.143e-05/1.326, allocations: 0 / 1.368 GB, free: 1.91 MB / 0.823 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.0005291/1.326, allocations: 373.5 kB / 1.368 GB, free: 1.508 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.326, allocations: 12.03 kB / 1.368 GB, free: 1.496 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/1.326, allocations: 37.62 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.678e-05/1.327, allocations: 7.906 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001569/1.327, allocations: 178.9 kB / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/1.327, allocations: 0 / 1.368 GB, free: 1.23 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/1.327, allocations: 7.375 kB / 1.368 GB, free: 1.227 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/1.327, allocations: 56.62 kB / 1.369 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/1.327, allocations: 0 / 1.369 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/1.327, allocations: 0 / 1.369 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/1.327, allocations: 0 / 1.369 GB, free: 1.172 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.74e-05/1.327, allocations: 18.94 kB / 1.369 GB, free: 1.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006338/1.328, allocations: 325.4 kB / 1.369 GB, free: 0.8164 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001018/1.328, allocations: 40.33 kB / 1.369 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/1.328, allocations: 16.36 kB / 1.369 GB, free: 0.7617 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/1.328, allocations: 8 kB / 1.369 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/1.328, allocations: 63.56 kB / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of pre-optimization done (n=7): time 1.553e-06/1.328, allocations: 0 / 1.369 GB, free: 0.6875 MB / 0.823 GB Notification: Performance of matching and sorting (n=7): time 0.0002332/1.328, allocations: 88.73 kB / 1.369 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/1.328, allocations: 55.39 kB / 1.369 GB, free: 0.543 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.328, allocations: 107.6 kB / 1.369 GB, free: 448 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/1.328, allocations: 29.02 kB / 1.369 GB, free: 416 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/1.328, allocations: 99.55 kB / 1.369 GB, free: 316 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/1.329, allocations: 14.62 kB / 1.369 GB, free: 304 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/1.329, allocations: 11.12 kB / 1.369 GB, free: 296 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001501/1.329, allocations: 318.1 kB / 1.37 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.475e-05/1.329, allocations: 15.19 kB / 1.37 GB, free: 15.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.762e-05/1.329, allocations: 63.98 kB / 1.37 GB, free: 15.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.014e-05/1.329, allocations: 26.38 kB / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.329, allocations: 0 / 1.37 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001978/1.329, allocations: 106.5 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/1.329, allocations: 4 kB / 1.37 GB, free: 15.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.329, allocations: 7.938 kB / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.329, allocations: 0 / 1.37 GB, free: 15.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.329, allocations: 29.86 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/1.329, allocations: 4 kB / 1.37 GB, free: 15.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.42e-05/1.329, allocations: 11.91 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.189e-05/1.33, allocations: 14.48 kB / 1.37 GB, free: 15.7 MB / 0.8386 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.951e-05/1.33, allocations: 116.9 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.336e-05/1.33, allocations: 0 / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/1.33, allocations: 12.19 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.33, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.33, allocations: 3.953 kB / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/1.33, allocations: 0 / 1.37 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/1.33, allocations: 354 kB / 1.37 GB, free: 15.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.33, allocations: 7.938 kB / 1.37 GB, free: 15.19 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.59e-05/1.33, allocations: 11.98 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/1.33, allocations: 0 / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/1.33, allocations: 3.953 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.33, allocations: 160 / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/1.33, allocations: 4 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/1.33, allocations: 174.4 kB / 1.371 GB, free: 15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/1.33, allocations: 81.11 kB / 1.371 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/1.33, allocations: 7.984 kB / 1.371 GB, free: 14.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.034e-05/1.331, allocations: 15.33 kB / 1.371 GB, free: 14.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/1.331, allocations: 7.984 kB / 1.371 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/1.331, allocations: 0 / 1.371 GB, free: 14.87 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.132e-05/1.331, allocations: 97.92 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.331, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002518/1.331, allocations: 31.67 kB / 1.371 GB, free: 14.75 MB / 0.8386 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005427/1.332, allocations: 0.7191 MB / 1.372 GB, free: 14.03 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001447/1.332, allocations: 55 kB / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.332, allocations: 0 / 1.372 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-05/1.332, allocations: 23.8 kB / 1.372 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/1.332, allocations: 17.45 kB / 1.372 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/1.332, allocations: 138.2 kB / 1.372 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.333, allocations: 0.6965 MB / 1.372 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.128e-05/1.333, allocations: 7.781 kB / 1.372 GB, free: 13.06 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/1.333, allocations: 25.67 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/1.333, allocations: 4 kB / 1.372 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01415/1.347, allocations: 1.805 MB / 1.374 GB, free: 11.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002192/1.347, allocations: 210.3 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.714/3.062, allocations: 1.891 kB / 1.374 GB, free: 11.21 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat