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.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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009096/0.00091, 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.0011/0.0011, 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.465/1.465, allocations: 223.3 MB / 240 MB, free: 5.449 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.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003827, allocations: 12 kB / 0.8153 GB, free: 13.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9123/0.9127, allocations: 142.4 MB / 0.9544 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002033/0.9148, allocations: 1.392 MB / 0.9558 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.9161, allocations: 0.5993 MB / 0.9564 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.9163, allocations: 5.375 kB / 0.9564 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.9165, allocations: 20.27 kB / 0.9564 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003893/0.9169, allocations: 95.14 kB / 0.9565 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004588/0.9174, allocations: 146.1 kB / 0.9566 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.9177, allocations: 176.1 kB / 0.9568 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.9178, allocations: 19.83 kB / 0.9568 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001627/0.918, allocations: 92.83 kB / 0.9569 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004687/0.9227, allocations: 3.009 MB / 0.9598 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.9228, allocations: 8.875 kB / 0.9598 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.9229, allocations: 20.94 kB / 0.9599 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.9229, allocations: 30.23 kB / 0.9599 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.279e-05/0.923, allocations: 56.66 kB / 0.9599 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.9232, allocations: 133.1 kB / 0.9601 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.9232, allocations: 0 / 0.9601 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.92e-07/0.9232, allocations: 0 / 0.9601 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.9232, allocations: 1.094 kB / 0.9601 GB, free: 4.52 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.0005962/0.9238, allocations: 497.1 kB / 0.9605 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.9239, allocations: 9.125 kB / 0.9606 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.9239, allocations: 21.95 kB / 0.9606 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.9242, allocations: 228.4 kB / 0.9608 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.9242, allocations: 8.906 kB / 0.9608 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.9242, allocations: 13.75 kB / 0.9608 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.9244, allocations: 78.28 kB / 0.9609 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.9244, allocations: 1.312 kB / 0.9609 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.9244, allocations: 7.953 kB / 0.9609 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.9244, allocations: 2.625 kB / 0.9609 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.966e-05/0.9245, allocations: 46.23 kB / 0.9609 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006492/0.9252, allocations: 461 kB / 0.9614 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.9253, allocations: 66.44 kB / 0.9615 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.42e-05/0.9254, allocations: 28.41 kB / 0.9615 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.9254, allocations: 1.625 kB / 0.9615 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.9256, allocations: 94.12 kB / 0.9616 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=12): time 1.954e-06/0.9256, allocations: 0 / 0.9616 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12): time 0.0002528/0.9258, allocations: 124.8 kB / 0.9617 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.9259, allocations: 61.77 kB / 0.9617 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000161/0.926, allocations: 186.6 kB / 0.9619 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.9261, allocations: 32.36 kB / 0.962 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.9261, allocations: 121 kB / 0.9621 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.9262, allocations: 32.22 kB / 0.9621 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-06/0.9262, allocations: 8 kB / 0.9621 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/0.9262, allocations: 326.9 kB / 0.9624 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.9263, allocations: 26.23 kB / 0.9624 GB, free: 2.301 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.9265, allocations: 112.1 kB / 0.9626 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.975e-05/0.9266, allocations: 44.52 kB / 0.9626 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.9266, allocations: 1.281 kB / 0.9626 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002092/0.9268, allocations: 128.1 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9268, allocations: 4.688 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9268, allocations: 2.031 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9269, allocations: 2.188 kB / 0.9627 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.963e-05/0.9269, allocations: 26.45 kB / 0.9628 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9269, allocations: 1.125 kB / 0.9628 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001755/0.9271, allocations: 24.77 kB / 0.9628 GB, free: 2.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.9271, allocations: 8.344 kB / 0.9628 GB, free: 2.066 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.000101/0.9273, allocations: 137 kB / 0.9629 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.9273, allocations: 14.88 kB / 0.9629 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.935e-05/0.9273, allocations: 21.14 kB / 0.9629 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.9273, allocations: 5.375 kB / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/0.9273, allocations: 1.094 kB / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.9274, allocations: 0 / 0.963 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.9278, allocations: 439.2 kB / 0.9634 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.9278, allocations: 1.125 kB / 0.9634 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.16e-05/0.9279, allocations: 2.062 kB / 0.9634 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9279, allocations: 5.844 kB / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.9279, allocations: 1 kB / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.9279, allocations: 0 / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9279, allocations: 1.031 kB / 0.9634 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000175/0.9281, allocations: 209.6 kB / 0.9636 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.9281, allocations: 92.95 kB / 0.9637 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.9281, allocations: 6.031 kB / 0.9637 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.565e-05/0.9282, allocations: 14.08 kB / 0.9637 GB, free: 1.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.375e-05/0.9283, allocations: 18.44 kB / 0.9637 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.9283, allocations: 5 kB / 0.9637 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001012/0.9284, allocations: 139.4 kB / 0.9638 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9284, allocations: 0 / 0.9638 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003061/0.9287, allocations: 38.16 kB / 0.9639 GB, free: 1.082 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.0003415/0.9291, allocations: 179.6 kB / 0.9641 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.9293, allocations: 79.84 kB / 0.9641 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9293, allocations: 1 kB / 0.9641 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.979e-05/0.9294, allocations: 39.02 kB / 0.9642 GB, free: 0.9102 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.9298, allocations: 42.39 kB / 0.9642 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.9303, allocations: 304.4 kB / 0.9645 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001949/0.9305, allocations: 0.7168 MB / 0.9652 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.14e-05/0.9306, allocations: 21.25 kB / 0.9652 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.506e-05/0.9307, allocations: 17.78 kB / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.9307, allocations: 0 / 0.9652 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of Templates: time 0.007557/0.9382, allocations: 2.978 MB / 0.9681 GB, free: 14.42 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile (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 & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches