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.001517/0.001517, allocations: 108 kB / 15.61 MB, free: 148 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.001685/0.001685, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.484/1.484, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.558/2.558, allocations: 437 MB / 0.7103 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 67.89 kB / 0.8692 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6396/0.6419, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003367/0.6453, allocations: 1.723 MB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.6469, allocations: 0.9084 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.647, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002007/0.6472, allocations: 27.73 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.6476, allocations: 115.4 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003651/0.648, allocations: 155.6 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.6483, allocations: 231.4 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.6485, allocations: 41.67 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.6486, allocations: 115.6 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01032/0.659, allocations: 1.66 MB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.339e-05/0.6591, allocations: 20 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.6592, allocations: 36 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.874e-05/0.6593, allocations: 43.83 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.6595, allocations: 95.5 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003266/0.6598, allocations: 215.3 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.6598, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.163e-06/0.6598, allocations: 0 / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6598, allocations: 4 kB / 1.022 GB, free: 13.57 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.0007727/0.6606, allocations: 0.5488 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.6606, allocations: 8.031 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.6607, allocations: 20.75 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.661, allocations: 247.5 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.661, allocations: 12 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.6611, allocations: 12 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.6613, allocations: 121 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.6613, allocations: 3.938 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.6613, allocations: 7.938 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.6613, allocations: 0 / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.6614, allocations: 51.97 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008066/0.6622, allocations: 0.5473 MB / 1.024 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.6624, allocations: 101.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.829e-05/0.6625, allocations: 37.78 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6625, allocations: 3.984 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002597/0.6628, allocations: 125 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.6628, allocations: 3.938 kB / 1.024 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003254/0.6631, allocations: 153.6 kB / 1.024 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.6632, allocations: 89.17 kB / 1.025 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001885/0.6634, allocations: 204.2 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.6634, allocations: 33.7 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.748e-05/0.6635, allocations: 124.4 kB / 1.025 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.6636, allocations: 35.62 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.683e-05/0.6637, allocations: 57.67 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.6638, allocations: 326.8 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.6638, allocations: 31.98 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.6641, allocations: 141.3 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001706/0.6643, allocations: 115 kB / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6643, allocations: 0 / 1.026 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002767/0.6646, allocations: 157.3 kB / 1.026 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.6646, allocations: 4 kB / 1.026 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6646, allocations: 7.984 kB / 1.026 GB, free: 9.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.18e-05/0.6647, allocations: 8.156 kB / 1.026 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.6648, allocations: 19.94 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.6648, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002385/0.6651, allocations: 23.83 kB / 1.026 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.35e-05/0.6651, allocations: 15.98 kB / 1.026 GB, free: 9.883 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.0001862/0.6653, allocations: 143.4 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.531e-05/0.6653, allocations: 15.81 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.6654, allocations: 21.52 kB / 1.026 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.6654, allocations: 8 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.6654, allocations: 0 / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6654, allocations: 0 / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.6662, allocations: 473.8 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.6662, allocations: 0 / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.489e-05/0.6662, allocations: 4 kB / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.6662, allocations: 0 / 1.026 GB, free: 9.176 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.6663, allocations: 11.94 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.6663, allocations: 3.938 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.6663, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002795/0.6666, allocations: 232.1 kB / 1.027 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.6666, allocations: 88.92 kB / 1.027 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.6667, allocations: 11.98 kB / 1.027 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.6668, allocations: 15.92 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.667, allocations: 19.98 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.41e-05/0.667, allocations: 11.98 kB / 1.027 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001408/0.6672, allocations: 143.3 kB / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6672, allocations: 0 / 1.027 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003426/0.6675, allocations: 43.94 kB / 1.027 GB, free: 8.566 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.0005213/0.668, allocations: 166.9 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003054/0.6684, allocations: 104 kB / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6684, allocations: 0 / 1.027 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.6685, allocations: 51.97 kB / 1.027 GB, free: 8.262 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.669, allocations: 65.78 kB / 1.027 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.6697, allocations: 324 kB / 1.028 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.6701, allocations: 0.7203 MB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.6703, allocations: 25.62 kB / 1.028 GB, free: 7.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.6704, allocations: 27.42 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6704, allocations: 0 / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of Templates: time 0.007665/0.6781, allocations: 3.665 MB / 1.032 GB, free: 3.434 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=480 -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