Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",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 1.984/1.984, allocations: 390.5 MB / 398 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.000998/0.000998, allocations: 179.9 kB / 491.2 MB, free: 1.594 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.242/1.242, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.000807/0.000807, allocations: 90.7 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.505e-05/1.508e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6714/0.8693, allocations: 153.2 MB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001812/0.8695, allocations: 82.41 kB / 1.362 GB, free: 17.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01859/0.8881, allocations: 7.922 MB / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.8881, allocations: 0 / 1.37 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.8882, allocations: 3.906 kB / 1.37 GB, free: 32.52 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.0005562/0.8887, allocations: 0.5305 MB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.8888, allocations: 7.75 kB / 1.37 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.8888, allocations: 26.19 kB / 1.37 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.8893, allocations: 257.3 kB / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.8893, allocations: 3.844 kB / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.8893, allocations: 11.66 kB / 1.371 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001091/0.8894, allocations: 58.73 kB / 1.371 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.8896, allocations: 74.09 kB / 1.371 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.8896, allocations: 0 / 1.371 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.8896, allocations: 3.875 kB / 1.371 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.8896, allocations: 0 / 1.371 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005984/0.8902, allocations: 442.3 kB / 1.371 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.8906, allocations: 145.5 kB / 1.371 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.8906, allocations: 42.33 kB / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.8906, allocations: 0 / 1.371 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.8908, allocations: 96.89 kB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.317e-05/0.8908, allocations: 3.938 kB / 1.371 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0002132/0.891, allocations: 119.2 kB / 1.372 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.841e-05/0.891, allocations: 55.19 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.8912, allocations: 180.7 kB / 1.372 GB, free: 31.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.8912, allocations: 33.55 kB / 1.372 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.8913, allocations: 121.8 kB / 1.372 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.8913, allocations: 28.83 kB / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.8913, allocations: 3.875 kB / 1.372 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.8914, allocations: 329.8 kB / 1.372 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.768e-05/0.8915, allocations: 26.38 kB / 1.372 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.8916, allocations: 119.9 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.129e-05/0.8916, allocations: 29.61 kB / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8916, allocations: 0 / 1.372 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001669/0.8918, allocations: 136.4 kB / 1.373 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.8918, allocations: 7.688 kB / 1.373 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.8918, allocations: 0 / 1.373 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.8919, allocations: 3.844 kB / 1.373 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.516e-05/0.8919, allocations: 18.47 kB / 1.373 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.718e-06/0.8919, allocations: 3.953 kB / 1.373 GB, free: 30.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001991/0.8921, allocations: 31.72 kB / 1.373 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.8922, allocations: 7.688 kB / 1.373 GB, free: 30.61 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 7.829e-05/0.8922, allocations: 118.6 kB / 1.373 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001279/0.8924, allocations: 123.9 kB / 1.373 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.8e-05/0.8924, allocations: 17.91 kB / 1.373 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.8924, allocations: 19.58 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.8925, allocations: 7.828 kB / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8925, allocations: 0 / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8925, allocations: 0 / 1.373 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.893, allocations: 458.7 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.893, allocations: 0 / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.893, allocations: 7.672 kB / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.893, allocations: 0 / 1.373 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.893, allocations: 10.86 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.893, allocations: 0 / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.893, allocations: 3.938 kB / 1.373 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001556/0.8932, allocations: 216.4 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.111e-05/0.8932, allocations: 98.89 kB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.8933, allocations: 7.922 kB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.8934, allocations: 25.66 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.767e-05/0.8934, allocations: 22.89 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.8935, allocations: 6.969 kB / 1.374 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.705e-05/0.8936, allocations: 139.6 kB / 1.374 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8936, allocations: 0 / 1.374 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002737/0.8938, allocations: 38.88 kB / 1.374 GB, free: 29.79 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.0005863/0.8944, allocations: 0.8159 MB / 1.375 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001548/0.8946, allocations: 90.09 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/0.8946, allocations: 0 / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 6.319e-05/0.8947, allocations: 48.94 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.895, allocations: 48.91 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005473/0.8955, allocations: 264.6 kB / 1.375 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.8958, allocations: 0.731 MB / 1.376 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.949e-05/0.8959, allocations: 32.03 kB / 1.376 GB, free: 28.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.8959, allocations: 53.33 kB / 1.376 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/0.8959, allocations: 0 / 1.376 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.9179, allocations: 4.56 MB / 1.38 GB, free: 27.86 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.9181, allocations: 203.6 kB / 1.381 GB, free: 27.59 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.477, allocations: 6.875 kB / 1.381 GB, free: 27.59 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat does not exist to compare? outputFormat=mat