Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001547/0.001547, allocations: 108 kB / 15.6 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.001615/0.001616, allocations: 194.5 kB / 16.53 MB, free: 6.391 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.51/1.51, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.702/2.702, allocations: 437 MB / 0.7104 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 67.88 kB / 0.8692 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7334/0.7353, allocations: 151.6 MB / 1.017 GB, free: 2.422 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003405/0.7387, allocations: 1.727 MB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.7405, allocations: 0.9046 MB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.999e-05/0.7406, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.7409, allocations: 31.73 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.7412, allocations: 111.4 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.7416, allocations: 155.6 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.7419, allocations: 239.4 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.742, allocations: 33.66 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.7422, allocations: 123.6 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01312/0.7553, allocations: 1.645 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.7555, allocations: 16 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001819/0.7557, allocations: 43.92 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.492e-05/0.7558, allocations: 39.84 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.7559, allocations: 95.55 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.7564, allocations: 219.3 kB / 1.023 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7564, allocations: 0 / 1.023 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7564, allocations: 4 kB / 1.023 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.7564, allocations: 0 / 1.023 GB, free: 13.47 MB / 0.7794 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.0009455/0.7574, allocations: 0.541 MB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7574, allocations: 12.03 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.7575, allocations: 20.69 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003545/0.7579, allocations: 251.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.7579, allocations: 16 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.758, allocations: 16 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.7582, allocations: 108.7 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7582, allocations: 3.938 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.7582, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7583, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.7584, allocations: 55.97 kB / 1.024 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009368/0.7593, allocations: 0.5434 MB / 1.024 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.7595, allocations: 101.2 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.819e-05/0.7596, allocations: 41.77 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.7596, allocations: 7.984 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.7599, allocations: 125 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.76, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.000378/0.7603, allocations: 157.6 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000168/0.7605, allocations: 81.11 kB / 1.025 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002264/0.7608, allocations: 211.2 kB / 1.025 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.272e-05/0.7608, allocations: 33.7 kB / 1.025 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.7609, allocations: 120.4 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.437e-05/0.761, allocations: 31.62 kB / 1.025 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.7611, allocations: 65.8 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.7612, allocations: 326.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.83e-05/0.7613, allocations: 31.98 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/0.7616, allocations: 140.5 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000155/0.7618, allocations: 116.6 kB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7618, allocations: 0 / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002678/0.762, allocations: 161.3 kB / 1.026 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.7621, allocations: 8 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7621, allocations: 0 / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.7621, allocations: 7.984 kB / 1.026 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.906e-05/0.7622, allocations: 15.94 kB / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.7622, allocations: 0 / 1.026 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.7624, allocations: 35.83 kB / 1.026 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.7625, allocations: 8 kB / 1.026 GB, free: 9.793 MB / 0.7794 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.0001528/0.7626, allocations: 143.6 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.276e-05/0.7627, allocations: 15.81 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.913e-05/0.7627, allocations: 29.52 kB / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.7627, allocations: 0 / 1.026 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7627, allocations: 3.938 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7627, allocations: 3.938 kB / 1.026 GB, free: 9.598 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000805/0.7635, allocations: 466.2 kB / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.7636, allocations: 0 / 1.026 GB, free: 9.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.566e-05/0.7636, allocations: 8 kB / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7636, allocations: 0 / 1.026 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.7636, allocations: 4 kB / 1.026 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.7636, allocations: 3.938 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.7636, allocations: 0 / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.7639, allocations: 237.4 kB / 1.027 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-05/0.764, allocations: 92.92 kB / 1.027 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.764, allocations: 7.984 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001392/0.7642, allocations: 15.92 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.814e-05/0.7642, allocations: 15.98 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.7643, allocations: 7.984 kB / 1.027 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001624/0.7644, allocations: 148.2 kB / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7644, allocations: 0 / 1.027 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003241/0.7648, allocations: 47.94 kB / 1.027 GB, free: 8.473 MB / 0.7794 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.000502/0.7653, allocations: 171.4 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002764/0.7656, allocations: 107.7 kB / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.7656, allocations: 0 / 1.027 GB, free: 8.215 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.661e-05/0.7657, allocations: 55.84 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.7661, allocations: 54.66 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006581/0.7668, allocations: 320.1 kB / 1.028 GB, free: 7.773 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.7672, allocations: 0.7203 MB / 1.028 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.664e-05/0.7673, allocations: 33.59 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.7674, allocations: 27.42 kB / 1.028 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.7674, allocations: 3.938 kB / 1.028 GB, free: 6.965 MB / 0.7794 GB Notification: Performance of Templates: time 0.00923/0.7766, allocations: 3.654 MB / 1.032 GB, free: 3.336 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches