Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.318/2.318, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001198/0.001198, allocations: 176.8 kB / 487.4 MB, free: 5.023 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.584/1.584, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.001006/0.001006, allocations: 117.1 kB / 0.9219 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.93e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9038/1.201, allocations: 152.5 MB / 1.355 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/1.201, allocations: 74.48 kB / 1.355 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02309/1.224, allocations: 8.53 MB / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.234e-06/1.224, allocations: 0 / 1.363 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.518e-05/1.224, allocations: 3.875 kB / 1.363 GB, free: 33.76 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008296/1.225, allocations: 0.5393 MB / 1.364 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.225, allocations: 8.219 kB / 1.364 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/1.225, allocations: 19.34 kB / 1.364 GB, free: 33.27 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/1.226, allocations: 265.5 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.226, allocations: 3.844 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/1.226, allocations: 7.656 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001261/1.226, allocations: 46.88 kB / 1.364 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/1.226, allocations: 78.09 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.226, allocations: 0 / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.226, allocations: 6.656 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/1.226, allocations: 4 kB / 1.364 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/1.227, allocations: 432.8 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003882/1.227, allocations: 147.6 kB / 1.365 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.897e-05/1.227, allocations: 30.77 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/1.227, allocations: 0 / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/1.227, allocations: 98.52 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.994e-06/1.228, allocations: 7.984 kB / 1.365 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002311/1.228, allocations: 120.5 kB / 1.365 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/1.228, allocations: 63.08 kB / 1.365 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/1.228, allocations: 171.5 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/1.228, allocations: 33.48 kB / 1.365 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/1.228, allocations: 122.9 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.596e-05/1.228, allocations: 26.75 kB / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/1.228, allocations: 0 / 1.366 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001409/1.228, allocations: 338.4 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/1.228, allocations: 30.31 kB / 1.366 GB, free: 32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/1.228, allocations: 109.3 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.61e-05/1.228, allocations: 34.81 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.229, allocations: 3.938 kB / 1.366 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001804/1.229, allocations: 132 kB / 1.366 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/1.229, allocations: 7.719 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/1.229, allocations: 3.844 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.229, allocations: 0 / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/1.229, allocations: 18.7 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.229, allocations: 3.906 kB / 1.366 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/1.229, allocations: 32.48 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/1.229, allocations: 7.438 kB / 1.366 GB, free: 31.86 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 9.424e-05/1.229, allocations: 110.4 kB / 1.366 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001348/1.229, allocations: 128.7 kB / 1.366 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/1.229, allocations: 15.5 kB / 1.366 GB, free: 31.69 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/1.229, allocations: 19.23 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/1.229, allocations: 7.938 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.229, allocations: 3.953 kB / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.229, allocations: 0 / 1.366 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005424/1.23, allocations: 462 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/1.23, allocations: 0 / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.337e-05/1.23, allocations: 3.844 kB / 1.367 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/1.23, allocations: 3.953 kB / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/1.23, allocations: 7.094 kB / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.23, allocations: 0 / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.23, allocations: 0 / 1.367 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/1.23, allocations: 223.9 kB / 1.367 GB, free: 31.24 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/1.23, allocations: 95.53 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/1.23, allocations: 7.797 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/1.23, allocations: 18.06 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.37e-05/1.231, allocations: 19.28 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/1.231, allocations: 7.203 kB / 1.367 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 9.669e-05/1.231, allocations: 130 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.231, allocations: 3.938 kB / 1.367 GB, free: 31.06 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002932/1.231, allocations: 45.84 kB / 1.367 GB, free: 31.05 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007656/1.232, allocations: 0.8213 MB / 1.368 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002016/1.232, allocations: 89.44 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/1.232, allocations: 4.25 kB / 1.368 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.503e-05/1.232, allocations: 47.88 kB / 1.368 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003385/1.232, allocations: 51.44 kB / 1.368 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005718/1.233, allocations: 244.1 kB / 1.369 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/1.233, allocations: 0.7278 MB / 1.369 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.475e-05/1.233, allocations: 23.58 kB / 1.369 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.476e-05/1.233, allocations: 51.22 kB / 1.369 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.233, allocations: 0 / 1.369 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/1.258, allocations: 4.582 MB / 1.374 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.258, allocations: 198.9 kB / 1.374 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/2.913, allocations: 0 / 1.374 GB, free: 28.83 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat