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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 99.55 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.001172/0.001172, allocations: 177.3 kB / 15.94 MB, free: 228 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.462/1.462, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.546/2.546, allocations: 390.2 MB / 0.6653 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 8 kB / 0.8145 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9867/0.9871, allocations: 142.3 MB / 0.9535 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002373/0.9895, allocations: 1.479 MB / 0.9549 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.9912, allocations: 0.8884 MB / 0.9558 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.9913, allocations: 5.531 kB / 0.9558 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001812/0.9915, allocations: 15.05 kB / 0.9558 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.9919, allocations: 110.1 kB / 0.9559 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.9923, allocations: 138.6 kB / 0.9561 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002374/0.9926, allocations: 137.1 kB / 0.9562 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.9927, allocations: 33.36 kB / 0.9562 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.9929, allocations: 94.27 kB / 0.9563 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.9943, allocations: 1.041 MB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.9944, allocations: 7.875 kB / 0.9573 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.9945, allocations: 23.92 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.9946, allocations: 34.3 kB / 0.9574 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.9947, allocations: 51.11 kB / 0.9575 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002063/0.9949, allocations: 142.7 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.9949, allocations: 0 / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9949, allocations: 1.312 kB / 0.9576 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.9949, allocations: 0 / 0.9576 GB, free: 5.246 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.000741/0.9956, allocations: 0.5235 MB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.9957, allocations: 9.531 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.414e-05/0.9958, allocations: 25.98 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.9961, allocations: 240.4 kB / 0.9584 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.9961, allocations: 10.88 kB / 0.9584 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.9961, allocations: 13.78 kB / 0.9584 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.9964, allocations: 121.8 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9964, allocations: 0 / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.9964, allocations: 5.875 kB / 0.9585 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/0.9964, allocations: 5.922 kB / 0.9585 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.9965, allocations: 52.88 kB / 0.9586 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.9974, allocations: 0.5504 MB / 0.9591 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.9976, allocations: 98.66 kB / 0.9592 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.9976, allocations: 5.375 kB / 0.9592 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000269/0.9979, allocations: 121.6 kB / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=15): time 1.362e-06/0.9979, allocations: 0 / 0.9593 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15): time 0.0003941/0.9983, allocations: 169.7 kB / 0.9595 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.9984, allocations: 83.86 kB / 0.9596 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.9986, allocations: 195.4 kB / 0.9597 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.51e-05/0.9987, allocations: 33.83 kB / 0.9598 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.44e-05/0.9988, allocations: 122 kB / 0.9599 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.9988, allocations: 49.12 kB / 0.9599 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.9988, allocations: 5.375 kB / 0.9599 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.9989, allocations: 323 kB / 0.9603 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.653e-05/0.999, allocations: 32.86 kB / 0.9603 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000207/0.9992, allocations: 136.6 kB / 0.9604 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.9993, allocations: 35.94 kB / 0.9604 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.9993, allocations: 1.125 kB / 0.9604 GB, free: 2.605 MB / 0.7169 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.00025/0.9995, allocations: 167.7 kB / 0.9606 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9995, allocations: 5.688 kB / 0.9606 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9996, allocations: 2.219 kB / 0.9606 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.9996, allocations: 3.062 kB / 0.9606 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.9997, allocations: 24.03 kB / 0.9606 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.689e-06/0.9997, allocations: 2.281 kB / 0.9606 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002319/0.9999, allocations: 33.14 kB / 0.9607 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/1, allocations: 6 kB / 0.9607 GB, free: 2.477 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.0001236/1, allocations: 145.2 kB / 0.9608 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/1, allocations: 16.03 kB / 0.9608 GB, free: 2.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.223e-05/1, allocations: 17.72 kB / 0.9609 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/1, allocations: 2.125 kB / 0.9609 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1, allocations: 4.766 kB / 0.9609 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/1, allocations: 8.781 kB / 0.9609 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005723/1.001, allocations: 478.8 kB / 0.9613 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.001, allocations: 0.75 kB / 0.9613 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.425e-05/1.001, allocations: 7.891 kB / 0.9613 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/1.001, allocations: 4.984 kB / 0.9613 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/1.001, allocations: 5 kB / 0.9613 GB, free: 1.879 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.001, allocations: 6.062 kB / 0.9613 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/1.001, allocations: 0 / 0.9613 GB, free: 1.875 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/1.001, allocations: 247.8 kB / 0.9616 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/1.001, allocations: 97.53 kB / 0.9617 GB, free: 1.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/1.001, allocations: 6.281 kB / 0.9617 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/1.001, allocations: 24.22 kB / 0.9617 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.89e-05/1.001, allocations: 23.5 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-05/1.001, allocations: 6.25 kB / 0.9617 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001345/1.002, allocations: 140.7 kB / 0.9619 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/1.002, allocations: 0 / 0.9619 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003533/1.002, allocations: 42.25 kB / 0.9619 GB, free: 1.414 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.0004715/1.002, allocations: 161.9 kB / 0.9621 GB, free: 1.301 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002517/1.003, allocations: 107.6 kB / 0.9622 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-06/1.003, allocations: 4.062 kB / 0.9622 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/1.003, allocations: 50.3 kB / 0.9622 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/1.003, allocations: 51.12 kB / 0.9623 GB, free: 1.203 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006275/1.004, allocations: 339 kB / 0.9626 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/1.004, allocations: 0.7305 MB / 0.9633 GB, free: 216 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.119e-05/1.004, allocations: 26.2 kB / 0.9633 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/1.004, allocations: 19.97 kB / 0.9633 GB, free: 200 kB / 0.7169 GB Notification: Performance of SimCode: time 9.22e-07/1.004, allocations: 0 / 0.9633 GB, free: 200 kB / 0.7169 GB Notification: Performance of Templates: time 0.008063/1.012, allocations: 3.296 MB / 0.9666 GB, free: 14.53 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches