Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005316/0.005316, allocations: 102.1 kB / 15.73 MB, free: 6.062 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.001177/0.001177, allocations: 192 kB / 16.67 MB, free: 5.973 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.384/1.384, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.482/2.482, allocations: 437 MB / 0.7105 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 59.91 kB / 1.018 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9341/0.9354, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003153/0.9386, allocations: 1.745 MB / 1.168 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.9401, allocations: 0.9046 MB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.856e-05/0.9402, allocations: 0 / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.9405, allocations: 39.66 kB / 1.169 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.9409, allocations: 111.4 kB / 1.169 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003609/0.9412, allocations: 153.2 kB / 1.169 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000323/0.9416, allocations: 239.4 kB / 1.17 GB, free: 0.6562 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.9417, allocations: 41.61 kB / 1.17 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.9419, allocations: 111.7 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009692/0.9516, allocations: 1.662 MB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.845e-05/0.9517, allocations: 20 kB / 1.171 GB, free: 15.26 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.9519, allocations: 39.97 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.731e-05/0.952, allocations: 35.91 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001448/0.9521, allocations: 103.4 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004756/0.9526, allocations: 218.7 kB / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.9526, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9526, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.984e-06/0.9527, allocations: 0 / 1.172 GB, free: 14.87 MB / 0.9044 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.0009056/0.9536, allocations: 0.5603 MB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.9536, allocations: 12.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.754e-05/0.9537, allocations: 20.84 kB / 1.172 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.9541, allocations: 244.1 kB / 1.173 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.9541, allocations: 15.98 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.9541, allocations: 16 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.9544, allocations: 113.6 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.9545, allocations: 3.938 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.9545, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.9545, allocations: 4 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.9546, allocations: 51.97 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009011/0.9555, allocations: 0.5396 MB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.9557, allocations: 93.27 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.825e-05/0.9558, allocations: 41.77 kB / 1.174 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.9558, allocations: 8 kB / 1.174 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002064/0.956, allocations: 128.9 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=15): time 2.024e-06/0.956, allocations: 0 / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15): time 0.0003561/0.9564, allocations: 157.1 kB / 1.174 GB, free: 12.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/0.9565, allocations: 81.11 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.9567, allocations: 212.8 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.9567, allocations: 37.64 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.9568, allocations: 120.5 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.9569, allocations: 31.73 kB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.423e-05/0.957, allocations: 57.69 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.9571, allocations: 330.8 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.629e-05/0.9572, allocations: 31.98 kB / 1.175 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002591/0.9575, allocations: 146.5 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.9577, allocations: 117.8 kB / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9577, allocations: 0 / 1.175 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002597/0.958, allocations: 153.4 kB / 1.175 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.958, allocations: 14.28 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.958, allocations: 0 / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.958, allocations: 4 kB / 1.175 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.898e-05/0.9581, allocations: 19.92 kB / 1.175 GB, free: 11.23 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.9581, allocations: 8.156 kB / 1.175 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002291/0.9584, allocations: 31.88 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.9584, allocations: 8 kB / 1.175 GB, free: 11.18 MB / 0.9044 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.000128/0.9585, allocations: 139.5 kB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.519e-05/0.9586, allocations: 19.91 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.9586, allocations: 21.52 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.9586, allocations: 96 / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9586, allocations: 3.984 kB / 1.175 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9587, allocations: 8 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006318/0.9593, allocations: 466.2 kB / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.9593, allocations: 0 / 1.176 GB, free: 10.47 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.9594, allocations: 8 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.9594, allocations: 4 kB / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.9594, allocations: 0 / 1.176 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.9594, allocations: 3.938 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.624e-06/0.9594, allocations: 3.984 kB / 1.176 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.9596, allocations: 236.2 kB / 1.176 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.215e-05/0.9597, allocations: 96.95 kB / 1.176 GB, free: 10.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.9597, allocations: 4 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001865/0.9599, allocations: 19.91 kB / 1.176 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.106e-05/0.96, allocations: 15.98 kB / 1.176 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.96, allocations: 11.98 kB / 1.176 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001225/0.9602, allocations: 143.2 kB / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2e-07/0.9602, allocations: 0 / 1.176 GB, free: 9.895 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003119/0.9605, allocations: 43.95 kB / 1.176 GB, free: 9.852 MB / 0.9044 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.0003322/0.9608, allocations: 180.8 kB / 1.176 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.9611, allocations: 94.16 kB / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.9611, allocations: 0 / 1.177 GB, free: 9.598 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.646e-05/0.9612, allocations: 52.23 kB / 1.177 GB, free: 9.547 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.9616, allocations: 56.7 kB / 1.177 GB, free: 9.496 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005944/0.9622, allocations: 315.9 kB / 1.177 GB, free: 9.16 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.9627, allocations: 0.7242 MB / 1.178 GB, free: 8.41 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.77e-05/0.9628, allocations: 25.52 kB / 1.178 GB, free: 8.383 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.9628, allocations: 19.44 kB / 1.178 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.9629, allocations: 3.938 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of Templates: time 0.008259/0.9711, allocations: 3.692 MB / 1.181 GB, free: 4.711 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches