Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00726/0.00726, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001356/0.001356, allocations: 196 kB / 16.68 MB, free: 5.93 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.812/2.812, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.91 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.001/1.003, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003343/1.006, allocations: 1.748 MB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001702/1.008, allocations: 0.9007 MB / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/1.008, allocations: 0 / 1.21 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001988/1.008, allocations: 23.73 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004273/1.009, allocations: 123.4 kB / 1.21 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004016/1.009, allocations: 155.6 kB / 1.211 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003106/1.009, allocations: 247.4 kB / 1.211 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/1.009, allocations: 41.61 kB / 1.211 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/1.01, allocations: 111.7 kB / 1.211 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01172/1.021, allocations: 1.977 MB / 1.213 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.115e-05/1.021, allocations: 20 kB / 1.213 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/1.022, allocations: 43.97 kB / 1.213 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.076e-05/1.022, allocations: 39.84 kB / 1.213 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/1.022, allocations: 95.5 kB / 1.213 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/1.022, allocations: 211.4 kB / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/1.022, allocations: 0 / 1.213 GB, free: 8.438 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.833e-06/1.022, allocations: 3.938 kB / 1.213 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.148e-05/1.022, allocations: 0 / 1.213 GB, free: 8.434 MB / 0.9356 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.001012/1.023, allocations: 0.5545 MB / 1.214 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.023, allocations: 15.97 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.676e-05/1.024, allocations: 28.66 kB / 1.214 GB, free: 7.777 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/1.024, allocations: 235.5 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.95e-05/1.024, allocations: 12 kB / 1.214 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.013e-05/1.024, allocations: 19.98 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/1.024, allocations: 120.6 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/1.024, allocations: 0 / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/1.024, allocations: 4 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.024, allocations: 4 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/1.024, allocations: 55.91 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009369/1.025, allocations: 0.5318 MB / 1.215 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/1.026, allocations: 97.06 kB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/1.026, allocations: 41.77 kB / 1.215 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/1.026, allocations: 8 kB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/1.026, allocations: 125.2 kB / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.814e-06/1.026, allocations: 0 / 1.215 GB, free: 6.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003765/1.026, allocations: 157.4 kB / 1.215 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/1.026, allocations: 85.09 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/1.027, allocations: 212.3 kB / 1.216 GB, free: 5.906 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/1.027, allocations: 33.7 kB / 1.216 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001086/1.027, allocations: 120.5 kB / 1.216 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/1.027, allocations: 27.56 kB / 1.216 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/1.027, allocations: 61.67 kB / 1.216 GB, free: 5.652 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.027, allocations: 330.8 kB / 1.216 GB, free: 5.32 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.403e-05/1.027, allocations: 31.98 kB / 1.216 GB, free: 5.289 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/1.027, allocations: 149.2 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/1.028, allocations: 113 kB / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/1.028, allocations: 0 / 1.216 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002873/1.028, allocations: 157.3 kB / 1.217 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/1.028, allocations: 8 kB / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.07e-05/1.028, allocations: 0 / 1.217 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/1.028, allocations: 7.938 kB / 1.217 GB, free: 4.805 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/1.028, allocations: 20.14 kB / 1.217 GB, free: 4.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/1.028, allocations: 4 kB / 1.217 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/1.028, allocations: 27.83 kB / 1.217 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/1.028, allocations: 8 kB / 1.217 GB, free: 4.746 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.0001412/1.028, allocations: 141 kB / 1.217 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/1.029, allocations: 19.81 kB / 1.217 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.218e-05/1.029, allocations: 17.53 kB / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/1.029, allocations: 0 / 1.217 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.029, allocations: 7.938 kB / 1.217 GB, free: 4.555 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/1.029, allocations: 7.984 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006493/1.029, allocations: 454.3 kB / 1.217 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.029, allocations: 3.984 kB / 1.217 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.73e-05/1.029, allocations: 15.92 kB / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/1.029, allocations: 0 / 1.217 GB, free: 4.027 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/1.029, allocations: 8 kB / 1.217 GB, free: 4.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/1.029, allocations: 3.938 kB / 1.217 GB, free: 4.016 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/1.029, allocations: 4 kB / 1.217 GB, free: 4.012 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/1.03, allocations: 232 kB / 1.217 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.428e-05/1.03, allocations: 92.92 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/1.03, allocations: 4 kB / 1.218 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/1.03, allocations: 15.92 kB / 1.218 GB, free: 3.637 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.766e-05/1.03, allocations: 19.97 kB / 1.218 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/1.03, allocations: 8 kB / 1.218 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001369/1.03, allocations: 152.2 kB / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/1.03, allocations: 0 / 1.218 GB, free: 3.461 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003375/1.03, allocations: 47.92 kB / 1.218 GB, free: 3.414 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.0003625/1.031, allocations: 167.2 kB / 1.218 GB, free: 3.266 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002542/1.031, allocations: 102.2 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/1.031, allocations: 320 / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.803e-05/1.031, allocations: 55.92 kB / 1.218 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004395/1.032, allocations: 53.5 kB / 1.218 GB, free: 3.062 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006796/1.032, allocations: 288.3 kB / 1.218 GB, free: 2.754 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003681/1.033, allocations: 0.7243 MB / 1.219 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001196/1.033, allocations: 21.53 kB / 1.219 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.503e-05/1.033, allocations: 23.44 kB / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of SimCode: time 1.001e-06/1.033, allocations: 0 / 1.219 GB, free: 1.961 MB / 0.9356 GB Notification: Performance of Templates: time 0.01023/1.043, allocations: 3.669 MB / 1.223 GB, free: 14.34 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches