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.007273/0.007272, allocations: 98.52 kB / 15.73 MB, free: 5.578 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.001561/0.001561, allocations: 188.4 kB / 16.67 MB, free: 5.516 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.489/1.489, 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 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 59.91 kB / 0.9508 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.113, allocations: 140.4 MB / 1.088 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003094/1.116, allocations: 1.745 MB / 1.09 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001541/1.118, allocations: 0.8986 MB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.063e-05/1.118, allocations: 1.094 kB / 1.09 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002093/1.118, allocations: 31.33 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004172/1.118, allocations: 121.6 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/1.119, allocations: 153.3 kB / 1.091 GB, free: 3.516 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000315/1.119, allocations: 242.6 kB / 1.091 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/1.119, allocations: 36.05 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/1.12, allocations: 116.4 kB / 1.091 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01186/1.131, allocations: 1.99 MB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/1.132, allocations: 17.75 kB / 1.093 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/1.132, allocations: 38.36 kB / 1.093 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001031/1.132, allocations: 45.09 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/1.132, allocations: 84.72 kB / 1.093 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006449/1.133, allocations: 224.1 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/1.133, allocations: 7.938 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.133, allocations: 0.6562 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.344e-05/1.133, allocations: 0 / 1.093 GB, free: 2.625 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.001192/1.134, allocations: 0.5513 MB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/1.134, allocations: 9.688 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/1.134, allocations: 24.53 kB / 1.094 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/1.135, allocations: 253.2 kB / 1.094 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/1.135, allocations: 12.67 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.558e-05/1.135, allocations: 10.25 kB / 1.094 GB, free: 1.863 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/1.135, allocations: 112.7 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/1.135, allocations: 0.7188 kB / 1.094 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/1.135, allocations: 5.234 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.135, allocations: 2.844 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001665/1.135, allocations: 53.3 kB / 1.094 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001048/1.136, allocations: 0.5415 MB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/1.136, allocations: 101.1 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.075e-05/1.137, allocations: 45.84 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/1.137, allocations: 1.031 kB / 1.095 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003545/1.137, allocations: 120.3 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 3.236e-06/1.137, allocations: 0 / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0004744/1.137, allocations: 172.6 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/1.137, allocations: 80.98 kB / 1.096 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/1.138, allocations: 203.8 kB / 1.096 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.236e-05/1.138, allocations: 33.3 kB / 1.096 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/1.138, allocations: 127 kB / 1.096 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.291e-05/1.138, allocations: 35.58 kB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.138, allocations: 59.09 kB / 1.096 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.677e-05/1.138, allocations: 334.2 kB / 1.096 GB, free: 304 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.42e-05/1.138, allocations: 33.78 kB / 1.096 GB, free: 292 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002774/1.139, allocations: 135.5 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/1.139, allocations: 114.2 kB / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.139, allocations: 0 / 1.097 GB, free: 88 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003357/1.139, allocations: 166.5 kB / 1.097 GB, free: 0 / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/1.139, allocations: 16.42 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.425e-06/1.139, allocations: 2.125 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/1.139, allocations: 2.188 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/1.139, allocations: 18.94 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/1.139, allocations: 2.766 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/1.14, allocations: 30.2 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/1.14, allocations: 9.375 kB / 1.097 GB, free: 15.97 MB / 0.8731 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.0001705/1.14, allocations: 142.7 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/1.14, allocations: 24.78 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/1.14, allocations: 20.23 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/1.14, allocations: 2.906 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/1.14, allocations: 0 / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/1.14, allocations: 1.953 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007221/1.141, allocations: 463.6 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/1.141, allocations: 1.062 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/1.141, allocations: 8.734 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.141, allocations: 4.656 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/1.141, allocations: 7.062 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.141, allocations: 5.156 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/1.141, allocations: 0.6094 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/1.141, allocations: 231 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/1.141, allocations: 98.61 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/1.141, allocations: 7.188 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/1.141, allocations: 19 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.836e-05/1.141, allocations: 18.89 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.951e-05/1.141, allocations: 6.781 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001547/1.142, allocations: 143.7 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.142, allocations: 0 / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003623/1.142, allocations: 39.97 kB / 1.098 GB, free: 15.03 MB / 0.8731 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.0004025/1.142, allocations: 169.9 kB / 1.098 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003064/1.143, allocations: 109.4 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/1.143, allocations: 0 / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/1.143, allocations: 52.14 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/1.143, allocations: 53.05 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000717/1.144, allocations: 305.8 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/1.145, allocations: 0.7197 MB / 1.099 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001219/1.145, allocations: 24.83 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/1.145, allocations: 21.89 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.145, allocations: 4.812 kB / 1.099 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of Templates: time 0.01227/1.157, allocations: 3.648 MB / 1.103 GB, free: 13.61 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches