Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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: 10.99 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.001082/0.001082, allocations: 187.4 kB / 0.4902 GB, free: 2.227 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.5/1.5, allocations: 223.1 MB / 0.7992 GB, free: 14.75 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.001217/0.001217, allocations: 100.1 kB / 0.9396 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 10.56 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2534, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1862/0.4396, allocations: 154.1 MB / 1.38 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.44, allocations: 83.97 kB / 1.38 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03483/0.4749, allocations: 13.4 MB / 1.393 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.963e-06/0.4749, allocations: 0 / 1.393 GB, free: 1.836 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.817e-05/0.4749, allocations: 11.94 kB / 1.393 GB, free: 1.824 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000836/0.4758, allocations: 0.5453 MB / 1.393 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.4758, allocations: 12.03 kB / 1.393 GB, free: 1.203 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.451e-05/0.4759, allocations: 46.5 kB / 1.393 GB, free: 1.148 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.363e-05/0.4759, allocations: 27.7 kB / 1.394 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.4764, allocations: 254.6 kB / 1.394 GB, free: 0.832 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.4765, allocations: 8 kB / 1.394 GB, free: 0.8242 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.219e-05/0.4765, allocations: 19.94 kB / 1.394 GB, free: 0.8047 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002093/0.4767, allocations: 116.3 kB / 1.394 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4767, allocations: 0 / 1.394 GB, free: 0.6797 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.4768, allocations: 4 kB / 1.394 GB, free: 0.6758 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4768, allocations: 4 kB / 1.394 GB, free: 0.6719 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.4769, allocations: 51.97 kB / 1.394 GB, free: 0.6211 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.4778, allocations: 0.5397 MB / 1.394 GB, free: 28 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.478, allocations: 101.2 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.478, allocations: 3.984 kB / 1.395 GB, free: 15.91 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001773/0.4782, allocations: 125.1 kB / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4782, allocations: 192 / 1.395 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of matching and sorting (n=15): time 0.0003183/0.4785, allocations: 168.8 kB / 1.395 GB, free: 15.6 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.4786, allocations: 89.03 kB / 1.395 GB, free: 15.49 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.4787, allocations: 177.4 kB / 1.395 GB, free: 15.31 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4788, allocations: 41.81 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.4789, allocations: 124.4 kB / 1.395 GB, free: 15.14 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.4789, allocations: 27.7 kB / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.4789, allocations: 0 / 1.395 GB, free: 15.11 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.479, allocations: 330.8 kB / 1.396 GB, free: 14.78 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.4791, allocations: 36.36 kB / 1.396 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.4793, allocations: 139.8 kB / 1.396 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.4794, allocations: 35.94 kB / 1.396 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4794, allocations: 0 / 1.396 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002358/0.4796, allocations: 161.3 kB / 1.396 GB, free: 14.38 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4797, allocations: 4 kB / 1.396 GB, free: 14.37 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.4797, allocations: 7.984 kB / 1.396 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4797, allocations: 3.953 kB / 1.396 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.646e-05/0.4798, allocations: 19.94 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4798, allocations: 4 kB / 1.396 GB, free: 14.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.48, allocations: 36.06 kB / 1.396 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.48, allocations: 8 kB / 1.396 GB, free: 14.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 19 (plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,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,plotConfiguration.activate_internal) * 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.0001385/0.4802, allocations: 137 kB / 1.396 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.4802, allocations: 19.72 kB / 1.396 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.4803, allocations: 21.52 kB / 1.396 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4803, allocations: 7.953 kB / 1.396 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4803, allocations: 3.938 kB / 1.396 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4803, allocations: 0 / 1.396 GB, free: 14.1 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005548/0.4809, allocations: 466.4 kB / 1.397 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.4809, allocations: 0 / 1.397 GB, free: 13.59 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.4809, allocations: 7.953 kB / 1.397 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4809, allocations: 4 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.4809, allocations: 0 / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4809, allocations: 4 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.4809, allocations: 4 kB / 1.397 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.4812, allocations: 245.6 kB / 1.397 GB, free: 13.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.411e-05/0.4813, allocations: 100.9 kB / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4813, allocations: 0 / 1.397 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.4814, allocations: 23.98 kB / 1.397 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.4815, allocations: 19.97 kB / 1.397 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4815, allocations: 11.98 kB / 1.397 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000105/0.4816, allocations: 132.5 kB / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4817, allocations: 0 / 1.397 GB, free: 13 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000307/0.482, allocations: 51.98 kB / 1.397 GB, free: 12.95 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 14 (sca.sampleTrigger,scaDel.sampleTrigger,booPul.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart,plotConfiguration.active,plotConfiguration.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * 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.0007152/0.4827, allocations: 0.9253 MB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002061/0.4829, allocations: 101.8 kB / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4829, allocations: 0 / 1.398 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.483, allocations: 52.23 kB / 1.398 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4833, allocations: 55.78 kB / 1.398 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.4844, allocations: 1.483 MB / 1.4 GB, free: 10.25 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.4847, allocations: 0.7261 MB / 1.401 GB, free: 9.496 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 7.396e-05/0.4848, allocations: 21.53 kB / 1.401 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.572e-05/0.4849, allocations: 63.34 kB / 1.401 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of SimCode: time 2.6e-07/0.4849, allocations: 0 / 1.401 GB, free: 9.414 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01674/0.5016, allocations: 4.927 MB / 1.405 GB, free: 4.703 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003418/0.502, allocations: 251.8 kB / 1.406 GB, free: 4.371 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/2.301, allocations: 2.188 kB / 1.406 GB, free: 4.371 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat