Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008473/0.0008473, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006709/0.006709, allocations: 170.6 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003474, allocations: 8.219 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3085, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.002129/0.3107, allocations: 1.537 MB / 1.06 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3124, allocations: 0.9435 MB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.3125, allocations: 0 / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001887/0.3127, allocations: 27.78 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3131, allocations: 87.67 kB / 1.061 GB, free: 2.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.3135, allocations: 147 kB / 1.061 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3138, allocations: 231.3 kB / 1.062 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.3139, allocations: 33.66 kB / 1.062 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.3141, allocations: 95.67 kB / 1.062 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05213/0.3662, allocations: 3.321 MB / 1.065 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3663, allocations: 8 kB / 1.065 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3665, allocations: 27.98 kB / 1.065 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.3666, allocations: 27.91 kB / 1.065 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3668, allocations: 117.2 kB / 1.065 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3672, allocations: 195.3 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3672, allocations: 4 kB / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3672, allocations: 0 / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3672, allocations: 0 / 1.065 GB, free: 15.47 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008979/0.3681, allocations: 0.5255 MB / 1.066 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.3682, allocations: 12.03 kB / 1.066 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.338e-05/0.3683, allocations: 16.75 kB / 1.066 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003189/0.3686, allocations: 244.6 kB / 1.066 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.3686, allocations: 11.98 kB / 1.066 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.516e-05/0.3687, allocations: 12 kB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.3689, allocations: 91.2 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.805e-06/0.3689, allocations: 0 / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.3689, allocations: 4 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3689, allocations: 4 kB / 1.066 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.369, allocations: 55.92 kB / 1.066 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.3699, allocations: 472.4 kB / 1.067 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.3703, allocations: 158.6 kB / 1.067 GB, free: 13.72 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.736e-05/0.3704, allocations: 36.84 kB / 1.067 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3704, allocations: 4 kB / 1.067 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.3706, allocations: 115.1 kB / 1.067 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.713e-06/0.3706, allocations: 4 kB / 1.067 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003518/0.371, allocations: 164.8 kB / 1.067 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.371, allocations: 59.39 kB / 1.067 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3712, allocations: 196.2 kB / 1.067 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.3713, allocations: 37.69 kB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.304e-05/0.3714, allocations: 120.5 kB / 1.068 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.352e-05/0.3714, allocations: 35.55 kB / 1.068 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3714, allocations: 29.7 kB / 1.068 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3716, allocations: 334.8 kB / 1.068 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.732e-05/0.3716, allocations: 31.98 kB / 1.068 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.3719, allocations: 129.7 kB / 1.068 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.372, allocations: 96.23 kB / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.372, allocations: 0 / 1.068 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002391/0.3723, allocations: 155.5 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3723, allocations: 7.984 kB / 1.068 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3723, allocations: 4 kB / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.3723, allocations: 0 / 1.068 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.3724, allocations: 20.06 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3724, allocations: 4 kB / 1.068 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.3727, allocations: 31.88 kB / 1.068 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.3727, allocations: 4 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.3728, allocations: 147.4 kB / 1.069 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.3728, allocations: 15.81 kB / 1.069 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.739e-05/0.3729, allocations: 29.86 kB / 1.069 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.3729, allocations: 4 kB / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3729, allocations: 0 / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.3729, allocations: 0 / 1.069 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006674/0.3736, allocations: 0.4943 MB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3736, allocations: 3.984 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.3736, allocations: 4 kB / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3737, allocations: 0 / 1.069 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.3737, allocations: 3.938 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3737, allocations: 3.938 kB / 1.069 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.3737, allocations: 4 kB / 1.069 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3739, allocations: 239.2 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.187e-05/0.374, allocations: 92.92 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.374, allocations: 7.984 kB / 1.069 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.3742, allocations: 23.86 kB / 1.069 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.3742, allocations: 19.97 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.183e-05/0.3743, allocations: 4 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001162/0.3744, allocations: 148.2 kB / 1.07 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3744, allocations: 4 kB / 1.07 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003156/0.3747, allocations: 43.91 kB / 1.07 GB, free: 10.65 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004709/0.3752, allocations: 180 kB / 1.07 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002297/0.3754, allocations: 103.3 kB / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3755, allocations: 0 / 1.07 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.323e-05/0.3755, allocations: 51.92 kB / 1.07 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.376, allocations: 59.89 kB / 1.07 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006552/0.3767, allocations: 350.5 kB / 1.07 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/0.3769, allocations: 0.7245 MB / 1.071 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.411e-05/0.377, allocations: 25.48 kB / 1.071 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.3771, allocations: 23.42 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3771, allocations: 0 / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of Templates: time 0.007676/0.3848, allocations: 3.462 MB / 1.074 GB, free: 5.676 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches