Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,fileNamePrefix="Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput",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.000784/0.0007841, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001184/0.001184, allocations: 172.7 kB / 15.95 MB, free: 208 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.518/1.518, allocations: 223.3 MB / 240 MB, free: 5.316 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.515/2.515, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003653, allocations: 16 kB / 0.8149 GB, free: 14.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8448/0.8452, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002865/0.8481, allocations: 1.503 MB / 0.9553 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001968/0.8501, allocations: 0.8814 MB / 0.9562 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002393/0.8504, allocations: 5.406 kB / 0.9562 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.8507, allocations: 33.08 kB / 0.9562 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005415/0.8513, allocations: 91.53 kB / 0.9563 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005258/0.8518, allocations: 147.5 kB / 0.9564 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.8522, allocations: 200.9 kB / 0.9566 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.8524, allocations: 33.36 kB / 0.9567 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.8527, allocations: 95.14 kB / 0.9567 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006025/0.8587, allocations: 3.101 MB / 0.9598 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-05/0.8589, allocations: 8.875 kB / 0.9598 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.859, allocations: 24.94 kB / 0.9598 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.8591, allocations: 31.55 kB / 0.9598 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.8592, allocations: 54.86 kB / 0.9599 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.8595, allocations: 144.4 kB / 0.96 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.8596, allocations: 4 kB / 0.96 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.454e-06/0.8596, allocations: 1.5 kB / 0.96 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.8596, allocations: 0 / 0.96 GB, free: 4.504 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007844/0.8604, allocations: 0.5117 MB / 0.9605 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.8604, allocations: 9.188 kB / 0.9605 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.8605, allocations: 45.92 kB / 0.9606 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.476e-05/0.8605, allocations: 23.28 kB / 0.9606 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.8608, allocations: 242.7 kB / 0.9608 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.8608, allocations: 6.625 kB / 0.9608 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.8609, allocations: 14.66 kB / 0.9609 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002206/0.8611, allocations: 117.2 kB / 0.961 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.8611, allocations: 3.938 kB / 0.961 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8612, allocations: 5.062 kB / 0.961 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.8612, allocations: 2.406 kB / 0.961 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.8613, allocations: 57.06 kB / 0.961 GB, free: 3.551 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.8621, allocations: 0.5527 MB / 0.9616 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.8623, allocations: 103.9 kB / 0.9617 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.8623, allocations: 41.59 kB / 0.9617 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.8624, allocations: 3.984 kB / 0.9617 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002425/0.8626, allocations: 122.7 kB / 0.9618 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.312e-06/0.8626, allocations: 0 / 0.9618 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003699/0.863, allocations: 169.1 kB / 0.962 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.8631, allocations: 84.36 kB / 0.9621 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.8633, allocations: 195 kB / 0.9623 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.069e-05/0.8633, allocations: 33.86 kB / 0.9623 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.8634, allocations: 125.5 kB / 0.9624 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.8634, allocations: 36.86 kB / 0.9624 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.8634, allocations: 1.219 kB / 0.9624 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.39e-05/0.8635, allocations: 331 kB / 0.9628 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.337e-05/0.8636, allocations: 42.08 kB / 0.9628 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002213/0.8638, allocations: 132.7 kB / 0.9629 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.751e-05/0.8639, allocations: 43.14 kB / 0.963 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.8639, allocations: 1.031 kB / 0.963 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002488/0.8642, allocations: 152.3 kB / 0.9631 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.8642, allocations: 5.938 kB / 0.9631 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8642, allocations: 1.906 kB / 0.9631 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.308e-05/0.8642, allocations: 6.953 kB / 0.9631 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.8643, allocations: 28.17 kB / 0.9632 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.8644, allocations: 6.688 kB / 0.9632 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000209/0.8646, allocations: 29.33 kB / 0.9632 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.721e-05/0.8646, allocations: 6 kB / 0.9632 GB, free: 1.66 MB / 0.7169 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.0001321/0.8647, allocations: 144 kB / 0.9633 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.8648, allocations: 16.62 kB / 0.9633 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.8648, allocations: 25.64 kB / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.8648, allocations: 6.047 kB / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.8649, allocations: 1.156 kB / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.8649, allocations: 0 / 0.9634 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.8654, allocations: 467.8 kB / 0.9638 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8654, allocations: 4.969 kB / 0.9638 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.8655, allocations: 6.953 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.8655, allocations: 2.219 kB / 0.9638 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.8655, allocations: 4.969 kB / 0.9638 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.8655, allocations: 1.125 kB / 0.9638 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.8655, allocations: 1.156 kB / 0.9638 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.8657, allocations: 231.9 kB / 0.9641 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.952e-05/0.8658, allocations: 102.6 kB / 0.9642 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.703e-05/0.8658, allocations: 5.109 kB / 0.9642 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.866, allocations: 19.7 kB / 0.9642 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.244e-05/0.866, allocations: 16.19 kB / 0.9642 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.839e-05/0.8661, allocations: 10.41 kB / 0.9642 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000116/0.8662, allocations: 136 kB / 0.9643 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8662, allocations: 4 kB / 0.9643 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003433/0.8666, allocations: 51.33 kB / 0.9644 GB, free: 0.625 MB / 0.7169 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.0007898/0.8674, allocations: 0.8375 MB / 0.9652 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.8676, allocations: 99.98 kB / 0.9653 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.8676, allocations: 8 kB / 0.9653 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.8678, allocations: 50.2 kB / 0.9654 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.8682, allocations: 53.7 kB / 0.9654 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.8699, allocations: 0.9422 MB / 0.9663 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.8703, allocations: 0.7213 MB / 0.967 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001023/0.8704, allocations: 26.98 kB / 0.9671 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.8705, allocations: 55.72 kB / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.8705, allocations: 0 / 0.9671 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.8915, allocations: 5.014 MB / 0.972 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002652/0.8919, allocations: 254.7 kB / 0.9723 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.831, allocations: 5.719 kB / 0.9723 GB, free: 11.58 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.fmu > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat does not exist to compare? outputFormat=mat