Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 99.78 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001404/0.001404, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.485/2.485, allocations: 390.3 MB / 0.6653 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004072/0.0004072, allocations: 8 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7421/0.7425, allocations: 142.3 MB / 0.9536 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.001657/0.7442, allocations: 1.384 MB / 0.9549 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009444/0.7452, allocations: 0.5769 MB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.205e-05/0.7453, allocations: 1.156 kB / 0.9555 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.7454, allocations: 23.91 kB / 0.9555 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003152/0.7458, allocations: 104.2 kB / 0.9556 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.7461, allocations: 130.3 kB / 0.9557 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.7463, allocations: 135.4 kB / 0.9559 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.7464, allocations: 25.06 kB / 0.9559 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.921e-05/0.7465, allocations: 82.95 kB / 0.956 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001392/0.7479, allocations: 1.01 MB / 0.957 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.065e-05/0.7479, allocations: 12.72 kB / 0.957 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.013e-05/0.748, allocations: 25.39 kB / 0.957 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.7481, allocations: 27.47 kB / 0.957 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.7481, allocations: 48.77 kB / 0.9571 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.7483, allocations: 131.3 kB / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.113e-06/0.7483, allocations: 0 / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.624e-06/0.7483, allocations: 0 / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7483, allocations: 0 / 0.9572 GB, free: 5.594 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005427/0.7489, allocations: 0.4937 MB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.7489, allocations: 8.906 kB / 0.9577 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.251e-05/0.749, allocations: 37.62 kB / 0.9577 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.749, allocations: 21.67 kB / 0.9577 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.7493, allocations: 224.8 kB / 0.958 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.7493, allocations: 13.41 kB / 0.958 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.7493, allocations: 13.06 kB / 0.958 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.7495, allocations: 86.19 kB / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.7495, allocations: 0 / 0.9581 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7495, allocations: 3.953 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.858e-06/0.7495, allocations: 1.812 kB / 0.9581 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.504e-05/0.7496, allocations: 47.66 kB / 0.9581 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000667/0.7503, allocations: 450.3 kB / 0.9585 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.7504, allocations: 72.73 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.7504, allocations: 1.375 kB / 0.9586 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001498/0.7506, allocations: 93.36 kB / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.303e-06/0.7506, allocations: 0 / 0.9587 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002316/0.7508, allocations: 126.2 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.7509, allocations: 60.91 kB / 0.9589 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.751, allocations: 190.5 kB / 0.9591 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.751, allocations: 33.83 kB / 0.9591 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.886e-05/0.7511, allocations: 112.3 kB / 0.9592 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.7511, allocations: 27.92 kB / 0.9592 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.7511, allocations: 9.312 kB / 0.9592 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.465e-05/0.7512, allocations: 330.9 kB / 0.9596 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.683e-05/0.7512, allocations: 25.55 kB / 0.9596 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.7514, allocations: 108.1 kB / 0.9597 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/0.7515, allocations: 41.48 kB / 0.9597 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.7515, allocations: 0 / 0.9597 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001928/0.7517, allocations: 131.8 kB / 0.9598 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.7517, allocations: 5.062 kB / 0.9599 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.7518, allocations: 1.578 kB / 0.9599 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.7518, allocations: 6.859 kB / 0.9599 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.805e-05/0.7519, allocations: 21.39 kB / 0.9599 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.7519, allocations: 2.25 kB / 0.9599 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.7521, allocations: 24.11 kB / 0.9599 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.7521, allocations: 8.156 kB / 0.9599 GB, free: 3.125 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$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,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001009/0.7522, allocations: 137.2 kB / 0.96 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.7522, allocations: 18.94 kB / 0.9601 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.7523, allocations: 20.39 kB / 0.9601 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.7523, allocations: 5.656 kB / 0.9601 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7523, allocations: 1.031 kB / 0.9601 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7523, allocations: 0 / 0.9601 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.7527, allocations: 439.8 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.7527, allocations: 0 / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.013e-05/0.7527, allocations: 3.094 kB / 0.9605 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.7527, allocations: 5 kB / 0.9605 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.7528, allocations: 5.031 kB / 0.9605 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7528, allocations: 0.9688 kB / 0.9605 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7528, allocations: 0 / 0.9605 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.7529, allocations: 205.8 kB / 0.9607 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.566e-05/0.753, allocations: 101.8 kB / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.753, allocations: 0.875 kB / 0.9608 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.7531, allocations: 15.23 kB / 0.9608 GB, free: 2.258 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.7532, allocations: 14.2 kB / 0.9608 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.7532, allocations: 8.984 kB / 0.9609 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.933e-05/0.7533, allocations: 133.5 kB / 0.961 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7533, allocations: 0 / 0.961 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002984/0.7536, allocations: 46.77 kB / 0.961 GB, free: 2.129 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0006992/0.7543, allocations: 0.8152 MB / 0.9618 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002243/0.7545, allocations: 76.03 kB / 0.9619 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.7545, allocations: 0.9688 kB / 0.9619 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.7546, allocations: 46.39 kB / 0.9619 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.755, allocations: 38.17 kB / 0.962 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001046/0.756, allocations: 1.129 MB / 0.9631 GB, free: 236 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.7564, allocations: 0.7247 MB / 0.9638 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.365e-05/0.7565, allocations: 21.81 kB / 0.9638 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.627e-05/0.7566, allocations: 45.33 kB / 0.9638 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.7566, allocations: 1.156 kB / 0.9639 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.7755, allocations: 4.489 MB / 0.9682 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002965/0.7758, allocations: 244.5 kB / 0.9685 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.613, allocations: 0 / 0.9685 GB, free: 13.07 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat does not exist to compare? outputFormat=mat