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 1.957/1.957, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001028/0.001028, allocations: 176.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.264/1.264, allocations: 221.3 MB / 0.7915 GB, free: 5.453 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.000835/0.000835, allocations: 95.73 kB / 0.9317 GB, free: 5.773 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.408e-05/2.416e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.204, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7125/0.9166, allocations: 154 MB / 1.369 GB, free: 16 kB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002399/0.9169, allocations: 80.31 kB / 1.369 GB, free: 15.97 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.03372/0.9506, allocations: 13.36 MB / 1.382 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.463e-06/0.9507, allocations: 0 / 1.382 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.9507, allocations: 7.938 kB / 1.382 GB, free: 4.754 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006944/0.9514, allocations: 0.5246 MB / 1.383 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.9515, allocations: 8.031 kB / 1.383 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.221e-05/0.9515, allocations: 45.38 kB / 1.383 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.62e-05/0.9516, allocations: 15.81 kB / 1.383 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005056/0.9521, allocations: 261.5 kB / 1.383 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.9521, allocations: 11.5 kB / 1.383 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.692e-05/0.9522, allocations: 15.33 kB / 1.383 GB, free: 3.812 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.9524, allocations: 111.3 kB / 1.383 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9524, allocations: 4 kB / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.9524, allocations: 3.125 kB / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.9524, allocations: 0 / 1.383 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.9525, allocations: 49.23 kB / 1.383 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008029/0.9534, allocations: 0.5535 MB / 1.384 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.9535, allocations: 93.83 kB / 1.384 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.635e-05/0.9536, allocations: 40.22 kB / 1.384 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.9536, allocations: 0 / 1.384 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.9538, allocations: 131.5 kB / 1.384 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.9538, allocations: 0 / 1.384 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of matching and sorting (n=15): time 0.000243/0.9541, allocations: 119 kB / 1.384 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.9541, allocations: 85.05 kB / 1.384 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.9543, allocations: 180.3 kB / 1.385 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.25e-05/0.9543, allocations: 37.42 kB / 1.385 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.9544, allocations: 121.7 kB / 1.385 GB, free: 2.367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.9545, allocations: 31.48 kB / 1.385 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.9545, allocations: 3.562 kB / 1.385 GB, free: 2.34 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.9546, allocations: 332.2 kB / 1.385 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.9547, allocations: 29.88 kB / 1.385 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.9548, allocations: 131.2 kB / 1.385 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.072e-05/0.9549, allocations: 41.47 kB / 1.385 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.9549, allocations: 4 kB / 1.385 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002224/0.9551, allocations: 153.9 kB / 1.385 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.9552, allocations: 7.938 kB / 1.385 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.9552, allocations: 3.953 kB / 1.385 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.9552, allocations: 4 kB / 1.385 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.9553, allocations: 27.3 kB / 1.385 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.9553, allocations: 4 kB / 1.385 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.9555, allocations: 31.42 kB / 1.385 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.9555, allocations: 8 kB / 1.385 GB, free: 1.609 MB / 0.8386 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 () * 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.0001033/0.9557, allocations: 125.6 kB / 1.386 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.9557, allocations: 23.73 kB / 1.386 GB, free: 1.461 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.431e-05/0.9557, allocations: 20.03 kB / 1.386 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.9557, allocations: 3.953 kB / 1.386 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.9558, allocations: 4 kB / 1.386 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.9558, allocations: 7.984 kB / 1.386 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005764/0.9564, allocations: 461.9 kB / 1.386 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.9564, allocations: 7.953 kB / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.025e-05/0.9564, allocations: 0 / 1.386 GB, free: 0.9727 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.9564, allocations: 4 kB / 1.386 GB, free: 0.9688 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.9564, allocations: 7.984 kB / 1.386 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9564, allocations: 0 / 1.386 GB, free: 0.9609 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.9564, allocations: 4 kB / 1.386 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.9567, allocations: 236.1 kB / 1.386 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.9568, allocations: 100 kB / 1.386 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.9568, allocations: 4 kB / 1.386 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.9569, allocations: 23.86 kB / 1.386 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.957, allocations: 19.84 kB / 1.386 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.687e-05/0.9571, allocations: 7.984 kB / 1.387 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001081/0.9572, allocations: 136.4 kB / 1.387 GB, free: 456 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9572, allocations: 0 / 1.387 GB, free: 456 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002692/0.9574, allocations: 43.62 kB / 1.387 GB, free: 420 kB / 0.8386 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 () * 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.0007758/0.9582, allocations: 0.9216 MB / 1.388 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001993/0.9584, allocations: 100.5 kB / 1.388 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9585, allocations: 8.25 kB / 1.388 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.361e-05/0.9585, allocations: 50.5 kB / 1.388 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.9589, allocations: 52.08 kB / 1.388 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005751/0.9594, allocations: 264 kB / 1.388 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002948/0.9597, allocations: 0.7288 MB / 1.389 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.591e-05/0.9598, allocations: 21.53 kB / 1.389 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.733e-05/0.9599, allocations: 54.86 kB / 1.389 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of SimCode: time 2.4e-07/0.9599, allocations: 0 / 1.389 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01655/0.9765, allocations: 4.971 MB / 1.394 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/0.9767, allocations: 225.7 kB / 1.394 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.523, allocations: 0 / 1.394 GB, free: 9.27 MB / 0.8542 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