Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005765/0.005764, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.001102/0.001102, allocations: 196.6 kB / 16.67 MB, free: 5.926 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.379/1.379, 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 9.1.3-maint.9.1.x/package.mo): time 2.231/2.231, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 63.84 kB / 0.9508 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.181, allocations: 140.4 MB / 1.088 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003053/1.184, allocations: 1.74 MB / 1.09 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001523/1.186, allocations: 0.8912 MB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.838e-05/1.186, allocations: 5.062 kB / 1.09 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002126/1.186, allocations: 26.77 kB / 1.09 GB, free: 3.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004107/1.187, allocations: 121.7 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000436/1.187, allocations: 156.5 kB / 1.091 GB, free: 3.797 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000325/1.188, allocations: 239.7 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/1.188, allocations: 36.92 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/1.188, allocations: 104.4 kB / 1.091 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009797/1.198, allocations: 1.707 MB / 1.093 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/1.198, allocations: 16.94 kB / 1.093 GB, free: 3.172 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/1.198, allocations: 41.97 kB / 1.093 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/1.198, allocations: 37.2 kB / 1.093 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/1.198, allocations: 95.95 kB / 1.093 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005201/1.199, allocations: 219.1 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.199, allocations: 0 / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.482e-06/1.199, allocations: 0.75 kB / 1.093 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.306e-06/1.199, allocations: 0 / 1.093 GB, free: 2.992 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0009392/1.2, allocations: 0.5471 MB / 1.094 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.2, allocations: 13.25 kB / 1.094 GB, free: 2.492 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.572e-05/1.2, allocations: 20.12 kB / 1.094 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/1.2, allocations: 245.8 kB / 1.094 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.2, allocations: 10.89 kB / 1.094 GB, free: 2.242 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.537e-05/1.2, allocations: 18.11 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002242/1.2, allocations: 90.05 kB / 1.094 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.2, allocations: 4.906 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/1.201, allocations: 1.578 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/1.201, allocations: 2.344 kB / 1.094 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/1.201, allocations: 59.84 kB / 1.094 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009142/1.202, allocations: 465.6 kB / 1.095 GB, free: 1.812 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/1.202, allocations: 139.9 kB / 1.095 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/1.202, allocations: 33.91 kB / 1.095 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/1.202, allocations: 0.8125 kB / 1.095 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000367/1.203, allocations: 113 kB / 1.095 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.562e-06/1.203, allocations: 5.156 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.0004774/1.203, allocations: 166.5 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/1.203, allocations: 59.27 kB / 1.095 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000248/1.203, allocations: 201.9 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/1.203, allocations: 34.16 kB / 1.095 GB, free: 1.344 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.622e-05/1.204, allocations: 126.3 kB / 1.095 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/1.204, allocations: 35.62 kB / 1.095 GB, free: 1.199 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/1.204, allocations: 55.38 kB / 1.096 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.71e-05/1.204, allocations: 333 kB / 1.096 GB, free: 0.8477 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/1.204, allocations: 34.61 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002574/1.204, allocations: 131.4 kB / 1.096 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/1.204, allocations: 101.6 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/1.204, allocations: 0.5312 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002802/1.205, allocations: 149.3 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/1.205, allocations: 6.188 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/1.205, allocations: 1.094 kB / 1.096 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/1.205, allocations: 7.281 kB / 1.096 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.252e-05/1.205, allocations: 21.62 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/1.205, allocations: 2.656 kB / 1.096 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/1.205, allocations: 24.33 kB / 1.096 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/1.205, allocations: 9.75 kB / 1.096 GB, free: 0.5703 MB / 0.8575 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.0001224/1.205, allocations: 137.4 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.305e-05/1.205, allocations: 20.59 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.772e-05/1.205, allocations: 19.94 kB / 1.096 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/1.205, allocations: 6.062 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.205, allocations: 1.219 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.205, allocations: 1.594 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007027/1.206, allocations: 497.3 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.206, allocations: 1.547 kB / 1.097 GB, free: 36 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.742e-05/1.206, allocations: 11.67 kB / 1.097 GB, free: 28 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/1.206, allocations: 4.938 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/1.206, allocations: 6.859 kB / 1.097 GB, free: 20 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/1.206, allocations: 8.734 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.206, allocations: 0.6562 kB / 1.097 GB, free: 12 kB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002704/1.206, allocations: 225.4 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/1.206, allocations: 93.34 kB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.702e-05/1.206, allocations: 6.797 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.207, allocations: 15.08 kB / 1.097 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.526e-05/1.207, allocations: 21.05 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/1.207, allocations: 18.55 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001396/1.207, allocations: 137.3 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.207, allocations: 0 / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003512/1.207, allocations: 45.3 kB / 1.098 GB, free: 15.62 MB / 0.8731 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.0004283/1.208, allocations: 163.8 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002953/1.208, allocations: 103.5 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/1.208, allocations: 1.125 kB / 1.098 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/1.208, allocations: 57.61 kB / 1.098 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004516/1.209, allocations: 59.38 kB / 1.098 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008229/1.209, allocations: 316.4 kB / 1.098 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003566/1.21, allocations: 0.7283 MB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001015/1.21, allocations: 21.27 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/1.21, allocations: 22.5 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of SimCode: time 8.52e-07/1.21, allocations: 0.9688 kB / 1.099 GB, free: 14.53 MB / 0.8731 GB Notification: Performance of Templates: time 0.01024/1.22, allocations: 3.815 MB / 1.103 GB, free: 14.16 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile (rm -f Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches