Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.316/2.316, allocations: 393.5 MB / 408.4 MB, free: 11 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.001548/0.001548, allocations: 183 kB / 0.4901 GB, free: 2.246 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.636/1.636, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.0008723/0.0008726, allocations: 99.83 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003611/0.0003607, allocations: 7.219 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2711, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1829/0.4541, allocations: 154 MB / 1.38 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002878/0.4544, allocations: 83.95 kB / 1.38 GB, free: 15.35 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.4784, allocations: 8.562 MB / 1.388 GB, free: 6.758 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.275e-06/0.4784, allocations: 3.938 kB / 1.388 GB, free: 6.754 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.924e-05/0.4785, allocations: 4 kB / 1.388 GB, free: 6.75 MB / 0.8855 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.0009346/0.4794, allocations: 0.5529 MB / 1.389 GB, free: 6.133 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.4795, allocations: 8.031 kB / 1.389 GB, free: 6.125 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.3e-05/0.4795, allocations: 42.56 kB / 1.389 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.4796, allocations: 23.81 kB / 1.389 GB, free: 6.051 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006371/0.4803, allocations: 266.4 kB / 1.389 GB, free: 5.75 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.4803, allocations: 8 kB / 1.389 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.37e-05/0.4803, allocations: 12 kB / 1.389 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4806, allocations: 94.28 kB / 1.389 GB, free: 5.633 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.4806, allocations: 4 kB / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.4806, allocations: 0 / 1.389 GB, free: 5.629 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.4806, allocations: 7.938 kB / 1.389 GB, free: 5.621 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4807, allocations: 55.91 kB / 1.389 GB, free: 5.566 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000895/0.4816, allocations: 472.5 kB / 1.39 GB, free: 5.055 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004424/0.4821, allocations: 154.8 kB / 1.39 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.4821, allocations: 3.984 kB / 1.39 GB, free: 4.891 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001882/0.4823, allocations: 107.2 kB / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 2.224e-06/0.4823, allocations: 0 / 1.39 GB, free: 4.773 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.000358/0.4827, allocations: 167.7 kB / 1.39 GB, free: 4.605 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.4828, allocations: 55.41 kB / 1.39 GB, free: 4.539 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001878/0.483, allocations: 181.6 kB / 1.39 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/0.483, allocations: 33.7 kB / 1.39 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.788e-05/0.4831, allocations: 120.5 kB / 1.39 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4832, allocations: 35.61 kB / 1.39 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-06/0.4832, allocations: 0 / 1.39 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.4833, allocations: 326.8 kB / 1.391 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.4834, allocations: 44.28 kB / 1.391 GB, free: 3.785 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.4836, allocations: 126.1 kB / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.969e-05/0.4837, allocations: 35.98 kB / 1.391 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4837, allocations: 0 / 1.391 GB, free: 3.602 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002882/0.484, allocations: 157.2 kB / 1.391 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.4841, allocations: 9.25 kB / 1.391 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.4841, allocations: 0 / 1.391 GB, free: 3.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.4841, allocations: 4 kB / 1.391 GB, free: 3.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.423e-05/0.4842, allocations: 16 kB / 1.391 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4842, allocations: 7.922 kB / 1.391 GB, free: 3.406 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.4844, allocations: 31.95 kB / 1.391 GB, free: 3.375 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.4845, allocations: 8 kB / 1.391 GB, free: 3.367 MB / 0.8855 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 () * Number of clocked 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 0.0001455/0.4846, allocations: 136.9 kB / 1.391 GB, free: 3.223 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.4847, allocations: 19.77 kB / 1.391 GB, free: 3.203 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.031e-05/0.4847, allocations: 21.86 kB / 1.391 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4847, allocations: 224 / 1.391 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.4847, allocations: 0 / 1.391 GB, free: 3.18 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4847, allocations: 7.969 kB / 1.391 GB, free: 3.172 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.4854, allocations: 0.4982 MB / 1.392 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.4855, allocations: 0 / 1.392 GB, free: 2.617 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.894e-05/0.4855, allocations: 7.938 kB / 1.392 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.746e-06/0.4855, allocations: 0 / 1.392 GB, free: 2.609 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.4855, allocations: 8 kB / 1.392 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.4855, allocations: 0 / 1.392 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4855, allocations: 0 / 1.392 GB, free: 2.602 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002322/0.4858, allocations: 231.2 kB / 1.392 GB, free: 2.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.4858, allocations: 96.91 kB / 1.392 GB, free: 2.246 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.4859, allocations: 4 kB / 1.392 GB, free: 2.242 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.486, allocations: 15.98 kB / 1.392 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.304e-05/0.4861, allocations: 27.91 kB / 1.392 GB, free: 2.199 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.4861, allocations: 15.98 kB / 1.392 GB, free: 2.184 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001099/0.4863, allocations: 136.2 kB / 1.392 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4863, allocations: 0 / 1.392 GB, free: 2.051 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003112/0.4866, allocations: 47.97 kB / 1.392 GB, free: 2.004 MB / 0.8855 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 () * Number of clocked 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.0007623/0.4874, allocations: 0.8443 MB / 1.393 GB, free: 1.156 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.4876, allocations: 95.84 kB / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4876, allocations: 0 / 1.393 GB, free: 1.062 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.486e-05/0.4877, allocations: 51.92 kB / 1.393 GB, free: 1.012 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003403/0.488, allocations: 45.27 kB / 1.393 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4892, allocations: 1.179 MB / 1.395 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.4895, allocations: 0.7245 MB / 1.395 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 9.651e-05/0.4896, allocations: 29.47 kB / 1.395 GB, free: 14.94 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.202e-05/0.4897, allocations: 59.41 kB / 1.395 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of SimCode: time 2.956e-06/0.4897, allocations: 0 / 1.395 GB, free: 14.88 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.5082, allocations: 4.963 MB / 1.4 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/0.5085, allocations: 264.6 kB / 1.4 GB, free: 9.793 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.841/2.35, allocations: 4 kB / 1.4 GB, free: 9.789 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat does not exist to compare? outputFormat=mat