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.008371/0.008371, allocations: 96.97 kB / 15.73 MB, free: 6.031 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.002007/0.002007, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.664/2.664, allocations: 437 MB / 0.7105 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 63.89 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.345, allocations: 151.6 MB / 1.167 GB, free: 6.785 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003411/0.3484, allocations: 1.753 MB / 1.168 GB, free: 5.012 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.3502, allocations: 0.9007 MB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3503, allocations: 8 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002029/0.3506, allocations: 23.73 kB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.351, allocations: 119.4 kB / 1.169 GB, free: 3.961 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004029/0.3515, allocations: 159.6 kB / 1.169 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.3518, allocations: 235.4 kB / 1.17 GB, free: 3.578 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.352, allocations: 45.66 kB / 1.17 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.3522, allocations: 111.6 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.364, allocations: 1.978 MB / 1.172 GB, free: 1.973 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.3642, allocations: 16 kB / 1.172 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001786/0.3644, allocations: 47.97 kB / 1.172 GB, free: 1.91 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.788e-05/0.3645, allocations: 39.78 kB / 1.172 GB, free: 1.871 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3647, allocations: 99.53 kB / 1.172 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0005142/0.3652, allocations: 215.1 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3652, allocations: 0 / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.747e-06/0.3652, allocations: 8 kB / 1.172 GB, free: 1.555 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.3652, allocations: 0 / 1.172 GB, free: 1.555 MB / 0.92 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.001103/0.3664, allocations: 0.5525 MB / 1.173 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3664, allocations: 8.031 kB / 1.173 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.3665, allocations: 24.78 kB / 1.173 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004515/0.367, allocations: 247.6 kB / 1.173 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/0.367, allocations: 16 kB / 1.173 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.3671, allocations: 15.94 kB / 1.173 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002636/0.3674, allocations: 111.4 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3674, allocations: 0 / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3674, allocations: 4 kB / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.3674, allocations: 0 / 1.173 GB, free: 484 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3676, allocations: 51.97 kB / 1.173 GB, free: 432 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.3686, allocations: 0.5474 MB / 1.174 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001896/0.3688, allocations: 101.1 kB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.537e-05/0.3689, allocations: 45.7 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.3689, allocations: 0 / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002169/0.3691, allocations: 133.1 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.3691, allocations: 0 / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.000375/0.3695, allocations: 157.5 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.3696, allocations: 85.23 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.3699, allocations: 202.5 kB / 1.174 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.3699, allocations: 33.7 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.89e-05/0.37, allocations: 124.5 kB / 1.175 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.37, allocations: 39.72 kB / 1.175 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3702, allocations: 53.69 kB / 1.175 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.3703, allocations: 330.8 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.143e-05/0.3704, allocations: 35.98 kB / 1.175 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.3706, allocations: 137.3 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3708, allocations: 117.6 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3708, allocations: 0 / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002896/0.3711, allocations: 157.4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3711, allocations: 4 kB / 1.175 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.3712, allocations: 8.156 kB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.3712, allocations: 0 / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.767e-05/0.3713, allocations: 23.92 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3713, allocations: 4 kB / 1.175 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.3715, allocations: 19.94 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.3716, allocations: 16 kB / 1.175 GB, free: 13.87 MB / 0.9356 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.0001517/0.3717, allocations: 147.5 kB / 1.176 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.983e-05/0.3718, allocations: 19.91 kB / 1.176 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.3718, allocations: 25.52 kB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3718, allocations: 4 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3718, allocations: 0 / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3719, allocations: 7.875 kB / 1.176 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000685/0.3725, allocations: 462.3 kB / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3726, allocations: 0 / 1.176 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.3726, allocations: 7.938 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.3726, allocations: 0 / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.3726, allocations: 8 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.3726, allocations: 3.938 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3726, allocations: 0 / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.3729, allocations: 232.2 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.373, allocations: 89.02 kB / 1.176 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.373, allocations: 8 kB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.3732, allocations: 19.91 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.697e-05/0.3732, allocations: 15.98 kB / 1.176 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.3733, allocations: 11.98 kB / 1.176 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001229/0.3734, allocations: 140.5 kB / 1.177 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3734, allocations: 4 kB / 1.177 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003347/0.3737, allocations: 47.89 kB / 1.177 GB, free: 12.54 MB / 0.9356 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.000379/0.3741, allocations: 174.7 kB / 1.177 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002571/0.3744, allocations: 108 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3744, allocations: 0 / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.3745, allocations: 47.92 kB / 1.177 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.375, allocations: 56.03 kB / 1.177 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.3755, allocations: 295.9 kB / 1.177 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3758, allocations: 0.7244 MB / 1.178 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.115e-05/0.3759, allocations: 25.52 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.515e-05/0.376, allocations: 27.42 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.376, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.007435/0.3835, allocations: 3.686 MB / 1.182 GB, free: 7.414 MB / 0.9356 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