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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001222/0.001222, allocations: 110.5 kB / 16.42 MB, free: 6.504 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.001275/0.001276, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.328/2.328, allocations: 390.3 MB / 0.6655 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.89 kB / 0.9515 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.103, allocations: 140.4 MB / 1.089 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003415/1.107, allocations: 1.746 MB / 1.09 GB, free: 4.332 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001622/1.108, allocations: 0.8905 MB / 1.091 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.461e-05/1.108, allocations: 5.125 kB / 1.091 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000223/1.109, allocations: 31.09 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005196/1.109, allocations: 121.2 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/1.11, allocations: 149.1 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003426/1.11, allocations: 246.1 kB / 1.092 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001655/1.11, allocations: 44.2 kB / 1.092 GB, free: 3.445 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001672/1.11, allocations: 108.9 kB / 1.092 GB, free: 3.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01203/1.122, allocations: 1.992 MB / 1.094 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/1.122, allocations: 18.22 kB / 1.094 GB, free: 2.867 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/1.123, allocations: 37.72 kB / 1.094 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/1.123, allocations: 49.33 kB / 1.094 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001959/1.123, allocations: 87.78 kB / 1.094 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006262/1.124, allocations: 215.6 kB / 1.094 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/1.124, allocations: 0.7812 kB / 1.094 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.844e-06/1.124, allocations: 0 / 1.094 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.124, allocations: 0 / 1.094 GB, free: 2.691 MB / 0.8575 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.001131/1.125, allocations: 0.5539 MB / 1.095 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.125, allocations: 8.469 kB / 1.095 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/1.125, allocations: 28.73 kB / 1.095 GB, free: 2.176 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003461/1.125, allocations: 241.2 kB / 1.095 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.467e-05/1.125, allocations: 11.55 kB / 1.095 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.648e-05/1.125, allocations: 14.59 kB / 1.095 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/1.126, allocations: 119.3 kB / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.126, allocations: 0 / 1.095 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.899e-05/1.126, allocations: 6.203 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/1.126, allocations: 2.25 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/1.126, allocations: 53.16 kB / 1.095 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/1.127, allocations: 0.5418 MB / 1.096 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/1.127, allocations: 101 kB / 1.096 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.883e-05/1.127, allocations: 41.62 kB / 1.096 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/1.127, allocations: 1.688 kB / 1.096 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000317/1.128, allocations: 127.5 kB / 1.096 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/1.128, allocations: 4 kB / 1.096 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004162/1.128, allocations: 159.6 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/1.128, allocations: 81.27 kB / 1.096 GB, free: 1.039 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/1.128, allocations: 211.1 kB / 1.096 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.948e-05/1.128, allocations: 34.25 kB / 1.096 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/1.128, allocations: 122.4 kB / 1.097 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/1.128, allocations: 35.28 kB / 1.097 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/1.129, allocations: 60.27 kB / 1.097 GB, free: 0.6836 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/1.129, allocations: 332.5 kB / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.923e-05/1.129, allocations: 30.83 kB / 1.097 GB, free: 360 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/1.129, allocations: 138.4 kB / 1.097 GB, free: 244 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/1.129, allocations: 113.7 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/1.129, allocations: 1.219 kB / 1.097 GB, free: 152 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003184/1.13, allocations: 165.8 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.13, allocations: 5.672 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/1.13, allocations: 1.812 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/1.13, allocations: 3.344 kB / 1.097 GB, free: 64 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/1.13, allocations: 17.59 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/1.13, allocations: 4.359 kB / 1.097 GB, free: 60 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/1.13, allocations: 27.73 kB / 1.097 GB, free: 48 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/1.13, allocations: 10.31 kB / 1.097 GB, free: 44 kB / 0.8575 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.0001916/1.13, allocations: 143 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/1.13, allocations: 16.89 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.599e-05/1.13, allocations: 23.92 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.13, allocations: 2.016 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/1.13, allocations: 1.219 kB / 1.098 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.918e-05/1.13, allocations: 90.3 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/1.13, allocations: 2.922 kB / 1.098 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/1.131, allocations: 19.34 kB / 1.098 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/1.131, allocations: 26.97 kB / 1.098 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003916/1.131, allocations: 288.5 kB / 1.098 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003592/1.131, allocations: 377.2 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001169/1.132, allocations: 59.28 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001618/1.132, allocations: 142.5 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of Backend: time 5.11e-07/1.132, allocations: 3.938 kB / 1.099 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001012/1.133, allocations: 211 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001053/1.134, allocations: 0.7463 MB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of Templates: time 0.01228/1.146, allocations: 3.728 MB / 1.103 GB, free: 14.01 MB / 0.8731 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 -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