Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 2.523/2.523, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001292/0.001292, allocations: 172.8 kB / 487.4 MB, free: 5.039 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 81.7 kB / 0.9219 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.545e-05/2.547e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.2988, allocations: 142.4 MB / 1.206 GB, free: 43.82 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9242/1.223, allocations: 148.5 MB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/1.223, allocations: 73.02 kB / 1.351 GB, free: 17.88 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006999/1.23, allocations: 2.487 MB / 1.354 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/1.23, allocations: 5.281 kB / 1.354 GB, free: 33.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.953e-06/1.23, allocations: 1.344 kB / 1.354 GB, free: 33.45 MB / 0.8386 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.0003926/1.231, allocations: 371.9 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.231, allocations: 8.891 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/1.231, allocations: 14.66 kB / 1.354 GB, free: 33.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/1.231, allocations: 172.1 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/1.231, allocations: 3.844 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/1.231, allocations: 8.484 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.251e-05/1.231, allocations: 23.25 kB / 1.354 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.171e-05/1.231, allocations: 45.41 kB / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/1.231, allocations: 0 / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/1.231, allocations: 0 / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/1.231, allocations: 0 / 1.354 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004657/1.232, allocations: 293.8 kB / 1.355 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.183e-05/1.232, allocations: 49.19 kB / 1.355 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/1.232, allocations: 12.52 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/1.232, allocations: 4.609 kB / 1.355 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.892e-05/1.232, allocations: 59.08 kB / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/1.232, allocations: 0 / 1.355 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0001613/1.232, allocations: 86.42 kB / 1.355 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.248e-05/1.232, allocations: 63.72 kB / 1.355 GB, free: 32.4 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.297e-05/1.232, allocations: 108.4 kB / 1.355 GB, free: 32.31 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/1.232, allocations: 26.45 kB / 1.355 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.784e-05/1.232, allocations: 93.33 kB / 1.355 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/1.232, allocations: 12.52 kB / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.232, allocations: 0 / 1.355 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.387e-05/1.232, allocations: 321.7 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.378e-05/1.232, allocations: 23.06 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/1.232, allocations: 58.83 kB / 1.355 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002404/1.233, allocations: 48.2 kB / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.233, allocations: 0 / 1.355 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000287/1.233, allocations: 121.2 kB / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/1.233, allocations: 4.422 kB / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/1.233, allocations: 3.844 kB / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/1.233, allocations: 224 / 1.356 GB, free: 31.76 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/1.233, allocations: 28.8 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/1.233, allocations: 3.969 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/1.233, allocations: 14 kB / 1.356 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1.233, allocations: 4.766 kB / 1.356 GB, free: 31.75 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 7.629e-05/1.233, allocations: 113 kB / 1.356 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.938e-05/1.234, allocations: 70.86 kB / 1.356 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.117e-06/1.234, allocations: 12.45 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/1.234, allocations: 13.08 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/1.234, allocations: 0 / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/1.234, allocations: 0.75 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.234, allocations: 3.953 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/1.234, allocations: 318.6 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/1.234, allocations: 2.297 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/1.234, allocations: 13.2 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/1.234, allocations: 4 kB / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/1.234, allocations: 0.5625 kB / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/1.234, allocations: 8.531 kB / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.234, allocations: 0 / 1.356 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/1.234, allocations: 169.9 kB / 1.356 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.121e-05/1.234, allocations: 81.72 kB / 1.356 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/1.234, allocations: 4.438 kB / 1.356 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/1.234, allocations: 14.89 kB / 1.356 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/1.234, allocations: 10.08 kB / 1.356 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/1.234, allocations: 1.297 kB / 1.356 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.613e-05/1.234, allocations: 92.17 kB / 1.357 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.234, allocations: 0 / 1.357 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002385/1.235, allocations: 31.48 kB / 1.357 GB, free: 30.98 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.0004298/1.235, allocations: 0.711 MB / 1.357 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001138/1.235, allocations: 47.42 kB / 1.357 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/1.235, allocations: 3.844 kB / 1.357 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.791e-05/1.235, allocations: 19.08 kB / 1.357 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/1.235, allocations: 12.67 kB / 1.357 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/1.236, allocations: 144.5 kB / 1.357 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/1.236, allocations: 0.6939 MB / 1.358 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.352e-05/1.236, allocations: 9.562 kB / 1.358 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.697e-05/1.236, allocations: 20.42 kB / 1.358 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of SimCode: time 4.01e-07/1.236, allocations: 0 / 1.358 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01932/1.255, allocations: 1.454 MB / 1.36 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.256, allocations: 183.9 kB / 1.36 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.81, allocations: 2.25 kB / 1.36 GB, free: 29.2 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat