Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_latest_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_latest_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.008333/0.008333, allocations: 100.8 kB / 15.73 MB, free: 5.988 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.001895/0.001895, allocations: 197 kB / 16.67 MB, free: 5.926 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.203 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.909/2.909, allocations: 461.8 MB / 0.7347 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001422, allocations: 63.91 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3447, allocations: 157.4 MB / 1.208 GB, free: 9.715 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003923/0.3486, allocations: 1.737 MB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3505, allocations: 0.8933 MB / 1.21 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.3507, allocations: 7.938 kB / 1.21 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.351, allocations: 27.73 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005578/0.3515, allocations: 115.4 kB / 1.21 GB, free: 6.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004929/0.352, allocations: 157.6 kB / 1.211 GB, free: 6.766 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.3525, allocations: 243.3 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.3527, allocations: 45.66 kB / 1.211 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002373/0.353, allocations: 111.7 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01011/0.3631, allocations: 1.659 MB / 1.213 GB, free: 5.148 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.909e-05/0.3632, allocations: 20 kB / 1.213 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.3633, allocations: 35.98 kB / 1.213 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-05/0.3634, allocations: 39.84 kB / 1.213 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001554/0.3636, allocations: 95.48 kB / 1.213 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005236/0.3641, allocations: 219.4 kB / 1.213 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3641, allocations: 0 / 1.213 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3641, allocations: 0 / 1.213 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3641, allocations: 0 / 1.213 GB, free: 4.746 MB / 0.9669 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.001176/0.3653, allocations: 0.5565 MB / 1.214 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.678e-05/0.3654, allocations: 12.62 kB / 1.214 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.3655, allocations: 16.75 kB / 1.214 GB, free: 4.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000357/0.3659, allocations: 255.9 kB / 1.214 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3659, allocations: 12 kB / 1.214 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.3659, allocations: 16 kB / 1.214 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3662, allocations: 107.3 kB / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3662, allocations: 0 / 1.214 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3662, allocations: 8 kB / 1.214 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.3662, allocations: 0 / 1.214 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.3664, allocations: 59.95 kB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009204/0.3673, allocations: 0.5434 MB / 1.214 GB, free: 3.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3675, allocations: 101.1 kB / 1.215 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/0.3676, allocations: 41.77 kB / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3676, allocations: 0 / 1.215 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002896/0.3679, allocations: 129.1 kB / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.3679, allocations: 0 / 1.215 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15): time 0.0003802/0.3683, allocations: 161.6 kB / 1.215 GB, free: 2.531 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.3684, allocations: 81.11 kB / 1.215 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.3686, allocations: 201.2 kB / 1.215 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.511e-05/0.3686, allocations: 33.7 kB / 1.215 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.3688, allocations: 124.5 kB / 1.215 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.3688, allocations: 39.42 kB / 1.215 GB, free: 2.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.3689, allocations: 61.67 kB / 1.215 GB, free: 1.953 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.3691, allocations: 331 kB / 1.216 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.431e-05/0.3691, allocations: 31.98 kB / 1.216 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.3694, allocations: 139.4 kB / 1.216 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.3696, allocations: 113.9 kB / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3696, allocations: 0 / 1.216 GB, free: 1.289 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002641/0.3698, allocations: 161.1 kB / 1.216 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.3699, allocations: 12.03 kB / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3699, allocations: 0 / 1.216 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3699, allocations: 4 kB / 1.216 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.37, allocations: 15.94 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.37, allocations: 0 / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000212/0.3702, allocations: 35.81 kB / 1.216 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3702, allocations: 8 kB / 1.216 GB, free: 1.055 MB / 0.9669 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.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition2,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,$whenCondition1,$whenCondition3,$whenCondition4,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001376/0.3704, allocations: 139.5 kB / 1.216 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.577e-05/0.3704, allocations: 19.81 kB / 1.216 GB, free: 0.8906 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.866e-05/0.3705, allocations: 25.52 kB / 1.216 GB, free: 0.8672 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.3705, allocations: 4 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3705, allocations: 0 / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3705, allocations: 0 / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006065/0.3711, allocations: 466.2 kB / 1.217 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3711, allocations: 0 / 1.217 GB, free: 360 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.3712, allocations: 8 kB / 1.217 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.3712, allocations: 4 kB / 1.217 GB, free: 348 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.3712, allocations: 7.984 kB / 1.217 GB, free: 340 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.3712, allocations: 7.875 kB / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3712, allocations: 0 / 1.217 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.3715, allocations: 226.8 kB / 1.217 GB, free: 88 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.659e-05/0.3716, allocations: 104.9 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.3716, allocations: 12 kB / 1.217 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3717, allocations: 19.92 kB / 1.217 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.787e-05/0.3718, allocations: 19.97 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.3718, allocations: 4 kB / 1.217 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001346/0.372, allocations: 147.3 kB / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.372, allocations: 0 / 1.217 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003203/0.3723, allocations: 40 kB / 1.217 GB, free: 15.73 MB / 0.9825 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 (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.0003526/0.3727, allocations: 169.2 kB / 1.218 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002525/0.3729, allocations: 107.8 kB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3729, allocations: 0 / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.373, allocations: 51.92 kB / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/0.3735, allocations: 48.78 kB / 1.218 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006513/0.3741, allocations: 317.6 kB / 1.218 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003603/0.3745, allocations: 0.7165 MB / 1.219 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.121e-05/0.3746, allocations: 29.5 kB / 1.219 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.751e-05/0.3747, allocations: 23.42 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3747, allocations: 4 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of Templates: time 0.008501/0.3832, allocations: 3.673 MB / 1.222 GB, free: 10.6 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches