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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001737/0.001737, allocations: 109.3 kB / 15.7 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00188/0.001881, allocations: 197.4 kB / 16.63 MB, free: 6.609 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.465/1.465, allocations: 222.9 MB / 240.3 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.3 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 57.75 kB / 0.9509 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4048, allocations: 140.4 MB / 1.088 GB, free: 1.414 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003897/0.4088, allocations: 1.741 MB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00172/0.4105, allocations: 0.8968 MB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.131e-05/0.4106, allocations: 3.938 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002448/0.4109, allocations: 31.72 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004044/0.4113, allocations: 115.4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.4118, allocations: 149.6 kB / 1.091 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000291/0.4121, allocations: 243.3 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.4122, allocations: 45.64 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.4124, allocations: 107.7 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01159/0.424, allocations: 1.993 MB / 1.093 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.623e-05/0.4241, allocations: 16 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.4242, allocations: 43.98 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4244, allocations: 35.89 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.4245, allocations: 91.45 kB / 1.093 GB, free: 12.43 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.425, allocations: 223.3 kB / 1.094 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.425, allocations: 0 / 1.094 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.903e-06/0.425, allocations: 0 / 1.094 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.425, allocations: 4 kB / 1.094 GB, free: 12.2 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.0009435/0.426, allocations: 0.5527 MB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/0.4261, allocations: 8.031 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.15e-05/0.4262, allocations: 28.66 kB / 1.094 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003256/0.4265, allocations: 239.6 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4265, allocations: 12 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.989e-05/0.4266, allocations: 11.98 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.4268, allocations: 115.3 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4268, allocations: 3.984 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.4268, allocations: 8 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.4269, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.427, allocations: 47.97 kB / 1.095 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00097/0.428, allocations: 0.5434 MB / 1.095 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002233/0.4282, allocations: 105.2 kB / 1.095 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.87e-05/0.4283, allocations: 37.77 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.4283, allocations: 4 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003378/0.4286, allocations: 125 kB / 1.095 GB, free: 10.17 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4287, allocations: 4 kB / 1.095 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15): time 0.0003864/0.4291, allocations: 157 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.4291, allocations: 93.03 kB / 1.096 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.4294, allocations: 202.2 kB / 1.096 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.4294, allocations: 33.7 kB / 1.096 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.896e-05/0.4295, allocations: 120.5 kB / 1.096 GB, free: 9.527 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4296, allocations: 35.55 kB / 1.096 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.379e-05/0.4296, allocations: 57.67 kB / 1.096 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4298, allocations: 334.9 kB / 1.096 GB, free: 9.094 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.428e-05/0.4299, allocations: 31.98 kB / 1.096 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.4301, allocations: 142.4 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001475/0.4303, allocations: 109.9 kB / 1.097 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4303, allocations: 3.938 kB / 1.097 GB, free: 8.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002579/0.4306, allocations: 165.4 kB / 1.097 GB, free: 8.59 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.4306, allocations: 4 kB / 1.097 GB, free: 8.586 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.4306, allocations: 8 kB / 1.097 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.4306, allocations: 0 / 1.097 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.392e-05/0.4307, allocations: 19.92 kB / 1.097 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.4307, allocations: 4 kB / 1.097 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.431, allocations: 27.83 kB / 1.097 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.431, allocations: 8 kB / 1.097 GB, free: 8.52 MB / 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.0001473/0.4311, allocations: 147.5 kB / 1.097 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.4312, allocations: 15.81 kB / 1.097 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.4312, allocations: 17.53 kB / 1.097 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4312, allocations: 4 kB / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4312, allocations: 0 / 1.097 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.4313, allocations: 3.984 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.4319, allocations: 462.2 kB / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4319, allocations: 96 / 1.097 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.363e-05/0.4319, allocations: 11.98 kB / 1.097 GB, free: 7.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.4319, allocations: 3.984 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/0.432, allocations: 4 kB / 1.097 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/0.432, allocations: 11.92 kB / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.432, allocations: 0 / 1.097 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003093/0.4323, allocations: 237.4 kB / 1.098 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.4324, allocations: 92.92 kB / 1.098 GB, free: 7.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.4324, allocations: 8 kB / 1.098 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.4325, allocations: 15.92 kB / 1.098 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.4327, allocations: 19.97 kB / 1.098 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.4327, allocations: 8 kB / 1.098 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000143/0.4328, allocations: 136.5 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4328, allocations: 7.938 kB / 1.098 GB, free: 7.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003241/0.4332, allocations: 51.89 kB / 1.098 GB, free: 7.188 MB / 0.8575 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.0004288/0.4336, allocations: 189.8 kB / 1.098 GB, free: 7.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002529/0.4339, allocations: 95.91 kB / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4339, allocations: 0 / 1.098 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.689e-05/0.434, allocations: 51.92 kB / 1.098 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000436/0.4344, allocations: 48.03 kB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006377/0.4351, allocations: 296.7 kB / 1.099 GB, free: 6.512 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.4355, allocations: 0.7203 MB / 1.099 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.437e-05/0.4356, allocations: 25.52 kB / 1.099 GB, free: 5.742 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.873e-05/0.4356, allocations: 23.44 kB / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of SimCode: time 2.7e-07/0.4357, allocations: 0 / 1.099 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.00859/0.4442, allocations: 3.655 MB / 1.103 GB, free: 2.105 MB / 0.8575 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