Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007661/0.007661, allocations: 100.2 kB / 15.73 MB, free: 6.016 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.001652/0.001652, allocations: 185.8 kB / 16.67 MB, free: 5.934 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.56/2.56, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 59.89 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.88/0.8813, allocations: 151.6 MB / 1.167 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.003206/0.8845, allocations: 1.743 MB / 1.168 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.886, allocations: 0.9046 MB / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.028e-05/0.8861, allocations: 0 / 1.169 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.8863, allocations: 35.72 kB / 1.169 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.8867, allocations: 115.4 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003488/0.887, allocations: 157.4 kB / 1.169 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002741/0.8873, allocations: 239.4 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/0.8874, allocations: 33.67 kB / 1.17 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.8876, allocations: 119.6 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01179/0.8994, allocations: 2.028 MB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 8.389e-05/0.8995, allocations: 16 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.8996, allocations: 32 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.8997, allocations: 47.77 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.8999, allocations: 95.56 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.9004, allocations: 224.1 kB / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.9004, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.093e-06/0.9004, allocations: 0 / 1.172 GB, free: 14.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.156e-06/0.9004, allocations: 0 / 1.172 GB, free: 14.62 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009115/0.9013, allocations: 0.5525 MB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.9014, allocations: 12.92 kB / 1.173 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.625e-05/0.9015, allocations: 16.84 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.9018, allocations: 248.2 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.9018, allocations: 12 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.9019, allocations: 12 kB / 1.173 GB, free: 13.67 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.9021, allocations: 89.59 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9021, allocations: 0 / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.9021, allocations: 4 kB / 1.173 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9021, allocations: 11.88 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.9022, allocations: 51.97 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008169/0.9031, allocations: 468.3 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004281/0.9035, allocations: 134.7 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.9036, allocations: 36.84 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.9036, allocations: 7.938 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.9039, allocations: 111.4 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.9039, allocations: 0 / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16): time 0.0003795/0.9043, allocations: 164.2 kB / 1.174 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.9043, allocations: 59.41 kB / 1.174 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.9046, allocations: 208 kB / 1.174 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.275e-05/0.9046, allocations: 33.7 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.9048, allocations: 120.5 kB / 1.174 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.9048, allocations: 35.73 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.905, allocations: 57.67 kB / 1.175 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.9052, allocations: 330.8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.906e-05/0.9053, allocations: 31.98 kB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.9056, allocations: 132.6 kB / 1.175 GB, free: 11.47 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.9058, allocations: 96.22 kB / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9058, allocations: 0 / 1.175 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002964/0.9061, allocations: 159.8 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.9061, allocations: 11.98 kB / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.136e-06/0.9061, allocations: 0 / 1.175 GB, free: 11.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.9061, allocations: 4 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.246e-05/0.9062, allocations: 15.94 kB / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.9063, allocations: 0 / 1.175 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/0.9065, allocations: 32.05 kB / 1.175 GB, free: 11.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.9065, allocations: 7.938 kB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.000188/0.9067, allocations: 149.7 kB / 1.175 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.849e-05/0.9068, allocations: 15.91 kB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.603e-05/0.9069, allocations: 21.86 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.9069, allocations: 3.938 kB / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.9069, allocations: 0 / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9069, allocations: 0 / 1.176 GB, free: 10.93 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008113/0.9077, allocations: 0.4943 MB / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.9078, allocations: 0 / 1.176 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.9078, allocations: 7.984 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.9078, allocations: 0 / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.9078, allocations: 4 kB / 1.176 GB, free: 10.37 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.9078, allocations: 7.875 kB / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.9078, allocations: 0 / 1.176 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.9082, allocations: 235.3 kB / 1.176 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.321e-05/0.9083, allocations: 96.89 kB / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.9083, allocations: 0 / 1.176 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.9085, allocations: 23.91 kB / 1.176 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.9086, allocations: 15.98 kB / 1.176 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.9087, allocations: 11.98 kB / 1.176 GB, free: 9.949 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001746/0.9089, allocations: 140.5 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9089, allocations: 4 kB / 1.177 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003509/0.9092, allocations: 47.89 kB / 1.177 GB, free: 9.762 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0004925/0.9097, allocations: 161.2 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.9101, allocations: 99.84 kB / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9101, allocations: 0 / 1.177 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.9102, allocations: 51.92 kB / 1.177 GB, free: 9.469 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005171/0.9107, allocations: 71.44 kB / 1.177 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007802/0.9115, allocations: 292.8 kB / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.912, allocations: 0.7242 MB / 1.178 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001118/0.9121, allocations: 25.55 kB / 1.178 GB, free: 8.324 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.002e-05/0.9122, allocations: 23.42 kB / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of SimCode: time 2.41e-07/0.9122, allocations: 0 / 1.178 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of Templates: time 0.01006/0.9222, allocations: 3.736 MB / 1.182 GB, free: 4.609 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches