Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 108 kB / 15.61 MB, free: 144 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 194 kB / 16.53 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.355 MB / 190.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.568/2.568, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 55.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6245/0.6258, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003233/0.6291, allocations: 1.736 MB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.6307, allocations: 0.9046 MB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.6308, allocations: 0 / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.631, allocations: 35.72 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003691/0.6314, allocations: 111.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.6318, allocations: 156.8 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002693/0.6321, allocations: 231.5 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.6322, allocations: 41.61 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001526/0.6324, allocations: 115.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.6439, allocations: 1.967 MB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.644, allocations: 16 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.6441, allocations: 39.98 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.388e-05/0.6442, allocations: 43.84 kB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001312/0.6444, allocations: 95.5 kB / 1.023 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.6447, allocations: 227.2 kB / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.6448, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6448, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.6448, allocations: 0 / 1.023 GB, free: 13.3 MB / 0.7794 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.0008127/0.6456, allocations: 0.5488 MB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.6456, allocations: 12.03 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.025e-05/0.6457, allocations: 16.75 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.646, allocations: 251.5 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.6461, allocations: 15.94 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.6461, allocations: 16 kB / 1.024 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.6463, allocations: 108.7 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6463, allocations: 0 / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6463, allocations: 4 kB / 1.024 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6463, allocations: 0 / 1.024 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.6465, allocations: 55.97 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008139/0.6473, allocations: 0.5395 MB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.6475, allocations: 97.08 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.106e-05/0.6475, allocations: 41.77 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.6476, allocations: 7.938 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.6478, allocations: 133.1 kB / 1.025 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.272e-06/0.6478, allocations: 0 / 1.025 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003312/0.6482, allocations: 158.8 kB / 1.025 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.6482, allocations: 81.11 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.6484, allocations: 210.4 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.6485, allocations: 33.7 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.6485, allocations: 120.4 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.6486, allocations: 31.77 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.6487, allocations: 61.67 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.6488, allocations: 330.8 kB / 1.026 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.47e-05/0.6489, allocations: 31.98 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.6491, allocations: 144.3 kB / 1.026 GB, free: 9.984 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.6492, allocations: 115 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6492, allocations: 0 / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000242/0.6495, allocations: 165.1 kB / 1.026 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.6495, allocations: 9.875 kB / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6495, allocations: 0 / 1.026 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.6496, allocations: 4 kB / 1.026 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.6497, allocations: 19.92 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6497, allocations: 4 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.6499, allocations: 31.77 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.6499, allocations: 4.156 kB / 1.026 GB, free: 9.617 MB / 0.7794 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.000119/0.65, allocations: 151.5 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.6501, allocations: 15.81 kB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.6501, allocations: 17.53 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.6501, allocations: 3.984 kB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.6501, allocations: 4 kB / 1.026 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.6502, allocations: 4 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.6507, allocations: 466.2 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6508, allocations: 3.984 kB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.853e-05/0.6508, allocations: 11.94 kB / 1.027 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.6508, allocations: 4 kB / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.6508, allocations: 0 / 1.027 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6508, allocations: 3.938 kB / 1.027 GB, free: 8.887 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6508, allocations: 4 kB / 1.027 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.651, allocations: 231.2 kB / 1.027 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.6511, allocations: 92.92 kB / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.6511, allocations: 0 / 1.027 GB, free: 8.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.6513, allocations: 23.91 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.6514, allocations: 15.98 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.6514, allocations: 4 kB / 1.027 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001217/0.6515, allocations: 143.2 kB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6515, allocations: 7.938 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003139/0.6518, allocations: 47.92 kB / 1.027 GB, free: 8.293 MB / 0.7794 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.0003343/0.6522, allocations: 160.8 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.6524, allocations: 111.8 kB / 1.028 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6524, allocations: 0 / 1.028 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.776e-05/0.6525, allocations: 47.92 kB / 1.028 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.653, allocations: 68.19 kB / 1.028 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000581/0.6536, allocations: 292.3 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.6539, allocations: 0.7164 MB / 1.029 GB, free: 6.867 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.51e-05/0.654, allocations: 25.53 kB / 1.029 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.58e-05/0.654, allocations: 27.42 kB / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.654, allocations: 0 / 1.029 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of Templates: time 0.007791/0.6618, allocations: 3.663 MB / 1.032 GB, free: 3.195 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches