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.000862/0.0008619, 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.005747/0.005747, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.444/1.444, allocations: 223.3 MB / 240.3 MB, free: 5.328 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.641/2.641, allocations: 437.8 MB / 0.7121 GB, free: 6.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003816/0.0003815, allocations: 8 kB / 0.8728 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.786, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002418/0.7884, allocations: 1.542 MB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001784/0.7902, allocations: 0.9283 MB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001499/0.7904, allocations: 0 / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000218/0.7906, allocations: 27.78 kB / 1.025 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003764/0.791, allocations: 91.59 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000413/0.7915, allocations: 143.8 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.7918, allocations: 231.3 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001628/0.792, allocations: 29.67 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001808/0.7922, allocations: 103.7 kB / 1.026 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05444/0.8466, allocations: 3.568 MB / 1.029 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.8468, allocations: 12 kB / 1.03 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.8469, allocations: 28 kB / 1.03 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.8471, allocations: 35.83 kB / 1.03 GB, free: 9.988 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.8472, allocations: 109.3 kB / 1.03 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004268/0.8477, allocations: 203.2 kB / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.8477, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.13e-06/0.8477, allocations: 0 / 1.03 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.8477, allocations: 3.938 kB / 1.03 GB, free: 9.672 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.001071/0.8488, allocations: 0.5216 MB / 1.03 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.8489, allocations: 8.031 kB / 1.03 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.849, allocations: 20.75 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.8494, allocations: 247.4 kB / 1.031 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.003e-05/0.8494, allocations: 15.98 kB / 1.031 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.8495, allocations: 11.98 kB / 1.031 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.8497, allocations: 116.9 kB / 1.031 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.8498, allocations: 0 / 1.031 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.8498, allocations: 8 kB / 1.031 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.8498, allocations: 0 / 1.031 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.85, allocations: 55.91 kB / 1.031 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.851, allocations: 0.5551 MB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.8512, allocations: 97.12 kB / 1.031 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.572e-05/0.8513, allocations: 41.77 kB / 1.032 GB, free: 7.797 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.172e-05/0.8513, allocations: 4.188 kB / 1.032 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002207/0.8516, allocations: 124.3 kB / 1.032 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.8516, allocations: 0 / 1.032 GB, free: 7.656 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003883/0.852, allocations: 169.5 kB / 1.032 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.852, allocations: 77.11 kB / 1.032 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002141/0.8522, allocations: 206.4 kB / 1.032 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.8523, allocations: 33.7 kB / 1.032 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.8524, allocations: 124.4 kB / 1.032 GB, free: 7.008 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.8524, allocations: 39.53 kB / 1.032 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.553e-05/0.8525, allocations: 29.84 kB / 1.032 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.8526, allocations: 330.8 kB / 1.033 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.69e-05/0.8527, allocations: 31.92 kB / 1.033 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002385/0.8529, allocations: 148.1 kB / 1.033 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001433/0.8531, allocations: 108.7 kB / 1.033 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.8531, allocations: 4 kB / 1.033 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002827/0.8534, allocations: 157.3 kB / 1.033 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.8534, allocations: 7.125 kB / 1.033 GB, free: 6.102 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.8534, allocations: 4 kB / 1.033 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.8535, allocations: 0 / 1.033 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.8536, allocations: 15.98 kB / 1.033 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.8536, allocations: 7.938 kB / 1.033 GB, free: 6.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.8538, allocations: 28.05 kB / 1.033 GB, free: 6.047 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.8539, allocations: 12 kB / 1.033 GB, free: 6.035 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.0001801/0.854, allocations: 144 kB / 1.033 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.8541, allocations: 15.81 kB / 1.033 GB, free: 5.871 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.8541, allocations: 21.52 kB / 1.033 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.8542, allocations: 4 kB / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.8542, allocations: 0 / 1.033 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.8542, allocations: 4.078 kB / 1.033 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006849/0.8549, allocations: 478.2 kB / 1.034 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.8549, allocations: 0 / 1.034 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.258e-05/0.8549, allocations: 11.94 kB / 1.034 GB, free: 5.312 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.8549, allocations: 3.938 kB / 1.034 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.855, allocations: 4 kB / 1.034 GB, free: 5.305 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.855, allocations: 3.938 kB / 1.034 GB, free: 5.301 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.855, allocations: 4 kB / 1.034 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.8552, allocations: 232 kB / 1.034 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.8553, allocations: 92.91 kB / 1.034 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.299e-05/0.8554, allocations: 8 kB / 1.034 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.8555, allocations: 23.92 kB / 1.034 GB, free: 4.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.633e-05/0.8556, allocations: 23.91 kB / 1.034 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.8557, allocations: 4 kB / 1.034 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001615/0.8558, allocations: 143.2 kB / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8558, allocations: 0 / 1.034 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003391/0.8562, allocations: 43.94 kB / 1.034 GB, free: 4.699 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.0003907/0.8566, allocations: 172.9 kB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.8568, allocations: 108 kB / 1.035 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.8568, allocations: 0 / 1.035 GB, free: 4.434 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-05/0.8569, allocations: 51.92 kB / 1.035 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.8574, allocations: 51.81 kB / 1.035 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.8583, allocations: 342.8 kB / 1.035 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.8586, allocations: 0.7283 MB / 1.036 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.8587, allocations: 17.55 kB / 1.036 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.623e-05/0.8588, allocations: 23.42 kB / 1.036 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of SimCode: time 2.9e-07/0.8588, allocations: 0 / 1.036 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of Templates: time 0.008093/0.8669, allocations: 3.417 MB / 1.039 GB, free: 15.8 MB / 0.795 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