Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_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_9_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.00134/0.00134, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001587/0.001587, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.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.218/2.218, allocations: 390.3 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 66.23 kB / 0.814 GB, free: 32.77 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2494, allocations: 140.4 MB / 0.9511 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003254/0.2527, allocations: 1.739 MB / 0.9528 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001604/0.2543, allocations: 0.9085 MB / 0.9537 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.2545, allocations: 8 kB / 0.9537 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.2546, allocations: 27.72 kB / 0.9537 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004125/0.2551, allocations: 115.5 kB / 0.9538 GB, free: 5.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004128/0.2555, allocations: 151.7 kB / 0.954 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.2559, allocations: 247.2 kB / 0.9542 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.256, allocations: 41.67 kB / 0.9543 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001698/0.2562, allocations: 111.7 kB / 0.9544 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/0.268, allocations: 1.993 MB / 0.9563 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.466e-05/0.2681, allocations: 16 kB / 0.9563 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2682, allocations: 39.98 kB / 0.9564 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.2683, allocations: 43.83 kB / 0.9564 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2684, allocations: 95.45 kB / 0.9565 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.2688, allocations: 211.4 kB / 0.9567 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2688, allocations: 4 kB / 0.9567 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2688, allocations: 0 / 0.9567 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.2688, allocations: 0 / 0.9567 GB, free: 2.859 MB / 0.7325 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.0008917/0.2697, allocations: 0.5604 MB / 0.9573 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2698, allocations: 8.031 kB / 0.9573 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.137e-05/0.2699, allocations: 20.75 kB / 0.9573 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.2702, allocations: 243.5 kB / 0.9575 GB, free: 1.934 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2702, allocations: 15.98 kB / 0.9575 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.647e-05/0.2703, allocations: 16 kB / 0.9575 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.2705, allocations: 111.3 kB / 0.9577 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.2705, allocations: 0 / 0.9577 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.2705, allocations: 4 kB / 0.9577 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.2705, allocations: 4 kB / 0.9577 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001204/0.2706, allocations: 51.97 kB / 0.9577 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008285/0.2715, allocations: 0.5356 MB / 0.9582 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.2717, allocations: 97.06 kB / 0.9583 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.2717, allocations: 45.77 kB / 0.9584 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2718, allocations: 4 kB / 0.9584 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002554/0.272, allocations: 125.1 kB / 0.9585 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.352e-06/0.272, allocations: 0 / 0.9585 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003397/0.2724, allocations: 173.5 kB / 0.9587 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.2724, allocations: 77.11 kB / 0.9587 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002011/0.2726, allocations: 206.5 kB / 0.9589 GB, free: 344 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.277e-05/0.2727, allocations: 33.7 kB / 0.959 GB, free: 304 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.539e-05/0.2728, allocations: 120.4 kB / 0.9591 GB, free: 176 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.038e-05/0.2728, allocations: 27.64 kB / 0.9591 GB, free: 148 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.769e-05/0.2729, allocations: 61.67 kB / 0.9592 GB, free: 80 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.2731, allocations: 330.9 kB / 0.9595 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/0.2731, allocations: 35.98 kB / 0.9595 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.2734, allocations: 137.3 kB / 0.9596 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.2735, allocations: 113.8 kB / 0.9598 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.2735, allocations: 4 kB / 0.9598 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002518/0.2738, allocations: 157.2 kB / 0.9599 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.2738, allocations: 12.16 kB / 0.9599 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2738, allocations: 0 / 0.9599 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2739, allocations: 4 kB / 0.9599 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.758e-05/0.274, allocations: 19.92 kB / 0.9599 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.274, allocations: 7.938 kB / 0.9599 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.2742, allocations: 27.83 kB / 0.96 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.2742, allocations: 4 kB / 0.96 GB, free: 15.17 MB / 0.7481 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.0001545/0.2744, allocations: 150.5 kB / 0.9601 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.2744, allocations: 19.81 kB / 0.9601 GB, free: 15 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.2745, allocations: 17.53 kB / 0.9602 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.2745, allocations: 0 / 0.9602 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2745, allocations: 0 / 0.9602 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.2745, allocations: 7.984 kB / 0.9602 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006016/0.2751, allocations: 465.9 kB / 0.9606 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2751, allocations: 0 / 0.9606 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.863e-05/0.2752, allocations: 11.98 kB / 0.9606 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2752, allocations: 8 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2752, allocations: 3.938 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2752, allocations: 3.938 kB / 0.9606 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2752, allocations: 4 kB / 0.9606 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.2755, allocations: 220.2 kB / 0.9608 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.421e-05/0.2755, allocations: 96.86 kB / 0.9609 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.2755, allocations: 0 / 0.9609 GB, free: 14.09 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.2757, allocations: 23.92 kB / 0.961 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.622e-05/0.2758, allocations: 19.97 kB / 0.961 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.2758, allocations: 4 kB / 0.961 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001143/0.2759, allocations: 144.5 kB / 0.9611 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2759, allocations: 0 / 0.9611 GB, free: 13.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003198/0.2762, allocations: 43.98 kB / 0.9612 GB, free: 13.86 MB / 0.7481 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.000356/0.2766, allocations: 183.4 kB / 0.9613 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.2769, allocations: 101.5 kB / 0.9614 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.2769, allocations: 7.938 kB / 0.9614 GB, free: 13.59 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-05/0.277, allocations: 43.98 kB / 0.9615 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004182/0.2774, allocations: 56.42 kB / 0.9615 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005465/0.278, allocations: 304.5 kB / 0.9618 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.2783, allocations: 0.7164 MB / 0.9625 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.251e-05/0.2784, allocations: 25.53 kB / 0.9626 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.498e-05/0.2784, allocations: 19.44 kB / 0.9626 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2784, allocations: 0 / 0.9626 GB, free: 12.39 MB / 0.7481 GB Notification: Performance of Templates: time 0.007443/0.2859, allocations: 3.648 MB / 0.9661 GB, free: 8.773 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches