Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.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.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001275, allocations: 187 kB / 17.34 MB, free: 5.742 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.444/1.444, allocations: 222.9 MB / 241 MB, free: 15.16 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.307/2.307, allocations: 390.3 MB / 0.6655 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 0.9515 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9913/0.9929, allocations: 140.4 MB / 1.089 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.002977/0.9959, allocations: 1.744 MB / 1.09 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.9974, allocations: 0.8894 MB / 1.091 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.9975, allocations: 5.438 kB / 1.091 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.9977, allocations: 31.33 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.998, allocations: 117.7 kB / 1.091 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003761/0.9984, allocations: 152.4 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000319/0.9988, allocations: 242.9 kB / 1.092 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001484/0.9989, allocations: 48.66 kB / 1.092 GB, free: 3.457 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.9991, allocations: 111.7 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009767/1.009, allocations: 1.659 MB / 1.093 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001041/1.009, allocations: 21.78 kB / 1.093 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/1.009, allocations: 38.94 kB / 1.094 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 7.991e-05/1.009, allocations: 48.95 kB / 1.094 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/1.009, allocations: 91.56 kB / 1.094 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004955/1.01, allocations: 215.8 kB / 1.094 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/1.01, allocations: 0 / 1.094 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/1.01, allocations: 0.9062 kB / 1.094 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.041e-05/1.01, allocations: 0 / 1.094 GB, free: 2.777 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.0009847/1.011, allocations: 0.5557 MB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/1.011, allocations: 9.25 kB / 1.094 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.011, allocations: 24.17 kB / 1.094 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/1.011, allocations: 241.6 kB / 1.095 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/1.011, allocations: 11.48 kB / 1.095 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.381e-05/1.012, allocations: 15.11 kB / 1.095 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/1.012, allocations: 115.1 kB / 1.095 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/1.012, allocations: 0 / 1.095 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.806e-05/1.012, allocations: 6.672 kB / 1.095 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/1.012, allocations: 1.875 kB / 1.095 GB, free: 1.945 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/1.012, allocations: 53.17 kB / 1.095 GB, free: 1.93 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/1.013, allocations: 0.5413 MB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/1.013, allocations: 96.77 kB / 1.095 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/1.013, allocations: 41.47 kB / 1.096 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/1.013, allocations: 2.609 kB / 1.096 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/1.013, allocations: 131.2 kB / 1.096 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.683e-06/1.013, allocations: 4.656 kB / 1.096 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003966/1.014, allocations: 160.9 kB / 1.096 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.945e-05/1.014, allocations: 81.98 kB / 1.096 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/1.014, allocations: 211.1 kB / 1.096 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/1.014, allocations: 39.09 kB / 1.096 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/1.014, allocations: 118.2 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/1.014, allocations: 35.23 kB / 1.096 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.014, allocations: 59.81 kB / 1.096 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.084e-05/1.014, allocations: 329.6 kB / 1.097 GB, free: 468 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.552e-05/1.014, allocations: 29.94 kB / 1.097 GB, free: 460 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/1.015, allocations: 143.4 kB / 1.097 GB, free: 340 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/1.015, allocations: 112.3 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/1.015, allocations: 1.156 kB / 1.097 GB, free: 248 kB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002883/1.015, allocations: 160.5 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.015, allocations: 5.125 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/1.015, allocations: 5.906 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/1.015, allocations: 3.109 kB / 1.097 GB, free: 164 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.362e-05/1.015, allocations: 17.69 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/1.015, allocations: 3.984 kB / 1.097 GB, free: 160 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/1.016, allocations: 33.17 kB / 1.097 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/1.016, allocations: 5.844 kB / 1.097 GB, free: 144 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.000115/1.016, allocations: 144 kB / 1.097 GB, free: 4 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.23e-05/1.016, allocations: 19.53 kB / 1.097 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/1.016, allocations: 21.2 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.016, allocations: 1.906 kB / 1.097 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.016, allocations: 4 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/1.016, allocations: 6.297 kB / 1.097 GB, free: 15.97 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/1.017, allocations: 459.7 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/1.017, allocations: 0.6875 kB / 1.098 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/1.017, allocations: 11.86 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.017, allocations: 2.594 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/1.017, allocations: 1.953 kB / 1.098 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.252e-06/1.017, allocations: 9.531 kB / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.017, allocations: 0 / 1.098 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002693/1.017, allocations: 235.1 kB / 1.098 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/1.017, allocations: 91.33 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/1.017, allocations: 1.703 kB / 1.098 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/1.017, allocations: 20.5 kB / 1.098 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.68e-05/1.017, allocations: 18.61 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.794e-05/1.017, allocations: 7.312 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001399/1.018, allocations: 146.3 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.01e-07/1.018, allocations: 0.75 kB / 1.098 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003493/1.018, allocations: 52.7 kB / 1.098 GB, free: 15.19 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.0003501/1.018, allocations: 175.8 kB / 1.098 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002644/1.018, allocations: 101.5 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/1.019, allocations: 0.5625 kB / 1.099 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/1.019, allocations: 52.39 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/1.019, allocations: 56.73 kB / 1.099 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007386/1.02, allocations: 341.5 kB / 1.099 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/1.02, allocations: 0.7237 MB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/1.02, allocations: 22.52 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.02, allocations: 0 / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.008649/1.029, allocations: 3.211 MB / 1.103 GB, free: 13.71 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches