Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff",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.48/2.48, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001282/0.001283, allocations: 183.4 kB / 498.1 MB, free: 5.699 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.779/1.779, allocations: 223.1 MB / 0.7948 GB, free: 17.9 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.0009971/0.0009971, allocations: 102.3 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003571, allocations: 12.41 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3057, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.489, allocations: 153.3 MB / 1.373 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002606/0.4893, allocations: 79.97 kB / 1.373 GB, free: 8.598 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0376/0.527, allocations: 13.4 MB / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.445e-06/0.527, allocations: 0 / 1.386 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.211e-05/0.5271, allocations: 4 kB / 1.386 GB, free: 11.14 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.001236/0.5283, allocations: 0.5609 MB / 1.386 GB, free: 10.52 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.5284, allocations: 8.031 kB / 1.386 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.59e-05/0.5285, allocations: 38.56 kB / 1.386 GB, free: 10.46 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.5286, allocations: 19.8 kB / 1.386 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.5292, allocations: 250.7 kB / 1.387 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.594e-05/0.5293, allocations: 16 kB / 1.387 GB, free: 10.14 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.468e-05/0.5294, allocations: 23.94 kB / 1.387 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.5296, allocations: 103.4 kB / 1.387 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.5296, allocations: 0 / 1.387 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.5297, allocations: 8 kB / 1.387 GB, free: 10 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.5297, allocations: 4 kB / 1.387 GB, free: 9.996 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.5298, allocations: 57.62 kB / 1.387 GB, free: 9.941 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001014/0.5308, allocations: 0.5475 MB / 1.387 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.531, allocations: 97.06 kB / 1.387 GB, free: 9.227 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.5311, allocations: 3.984 kB / 1.387 GB, free: 9.223 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.5313, allocations: 129.3 kB / 1.388 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.5313, allocations: 0 / 1.388 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of matching and sorting (n=15): time 0.0003694/0.5317, allocations: 157.4 kB / 1.388 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.5317, allocations: 85.09 kB / 1.388 GB, free: 8.816 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.5319, allocations: 185.6 kB / 1.388 GB, free: 8.621 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.532, allocations: 29.69 kB / 1.388 GB, free: 8.586 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.121e-05/0.5321, allocations: 124.5 kB / 1.388 GB, free: 8.461 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.5321, allocations: 31.55 kB / 1.388 GB, free: 8.43 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.5321, allocations: 8.125 kB / 1.388 GB, free: 8.422 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5323, allocations: 334.8 kB / 1.388 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.687e-05/0.5323, allocations: 28.36 kB / 1.389 GB, free: 8.059 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.5326, allocations: 136.2 kB / 1.389 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/0.5327, allocations: 43.44 kB / 1.389 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5327, allocations: 0 / 1.389 GB, free: 7.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002794/0.533, allocations: 157.3 kB / 1.389 GB, free: 7.695 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.533, allocations: 4.156 kB / 1.389 GB, free: 7.691 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.533, allocations: 11.94 kB / 1.389 GB, free: 7.68 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.533, allocations: 3.953 kB / 1.389 GB, free: 7.676 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.5332, allocations: 19.94 kB / 1.389 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.5332, allocations: 0 / 1.389 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002481/0.5334, allocations: 31.88 kB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.5334, allocations: 8 kB / 1.389 GB, free: 7.617 MB / 0.8855 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.0001919/0.5336, allocations: 143.5 kB / 1.389 GB, free: 7.469 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.5337, allocations: 15.81 kB / 1.389 GB, free: 7.453 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.254e-05/0.5338, allocations: 21.52 kB / 1.389 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.5338, allocations: 7.953 kB / 1.389 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.5338, allocations: 0 / 1.389 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5338, allocations: 0 / 1.389 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007251/0.5345, allocations: 466.3 kB / 1.39 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.5346, allocations: 4 kB / 1.39 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.03e-05/0.5346, allocations: 11.89 kB / 1.39 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.5346, allocations: 0 / 1.39 GB, free: 6.898 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5346, allocations: 4 kB / 1.39 GB, free: 6.895 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5346, allocations: 4 kB / 1.39 GB, free: 6.891 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.5346, allocations: 3.984 kB / 1.39 GB, free: 6.887 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.535, allocations: 251.9 kB / 1.39 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.29e-05/0.535, allocations: 96.84 kB / 1.39 GB, free: 6.504 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.5351, allocations: 4 kB / 1.39 GB, free: 6.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.5352, allocations: 15.98 kB / 1.39 GB, free: 6.484 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.331e-05/0.5353, allocations: 23.97 kB / 1.39 GB, free: 6.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.934e-05/0.5354, allocations: 15.98 kB / 1.39 GB, free: 6.445 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001403/0.5355, allocations: 139 kB / 1.39 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5355, allocations: 3.938 kB / 1.39 GB, free: 6.305 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003764/0.5359, allocations: 47.98 kB / 1.39 GB, free: 6.258 MB / 0.8855 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.001089/0.537, allocations: 0.9165 MB / 1.391 GB, free: 5.332 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002712/0.5373, allocations: 103.6 kB / 1.391 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.5373, allocations: 0 / 1.391 GB, free: 5.234 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5374, allocations: 47.92 kB / 1.391 GB, free: 5.188 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003835/0.5378, allocations: 48.11 kB / 1.391 GB, free: 5.141 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001629/0.5395, allocations: 1.503 MB / 1.393 GB, free: 3.551 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.5398, allocations: 0.7261 MB / 1.393 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001375/0.54, allocations: 29.52 kB / 1.393 GB, free: 2.773 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001125/0.5401, allocations: 51.41 kB / 1.393 GB, free: 2.727 MB / 0.8855 GB Notification: Performance of SimCode: time 2.6e-07/0.5401, allocations: 4 kB / 1.393 GB, free: 2.723 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.5598, allocations: 4.912 MB / 1.398 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002416/0.5601, allocations: 250.2 kB / 1.399 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.039/2.6, allocations: 0 / 1.399 GB, free: 13.68 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat does not exist to compare? outputFormat=mat