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.001927/0.001927, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002154/0.002154, allocations: 188.9 kB / 16.25 MB, free: 6.633 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.487/1.487, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.763/2.763, allocations: 437 MB / 0.7101 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00196/0.001961, allocations: 63.89 kB / 0.8687 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7619/0.7638, allocations: 151.6 MB / 1.017 GB, free: 2.703 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004724/0.7686, allocations: 1.893 MB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002342/0.771, allocations: 0.9321 MB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.7711, allocations: 3.938 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002604/0.7714, allocations: 19.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003582/0.7718, allocations: 99.66 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.7722, allocations: 147.7 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002907/0.7725, allocations: 239.4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.7726, allocations: 41.67 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001514/0.7728, allocations: 111.7 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02708/0.7999, allocations: 1.651 MB / 1.022 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.825e-05/0.8, allocations: 16 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001517/0.8002, allocations: 35.98 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.735e-05/0.8003, allocations: 43.78 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.8004, allocations: 95.55 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004244/0.8009, allocations: 219.3 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.8009, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.493e-06/0.8009, allocations: 0 / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.8009, allocations: 0 / 1.022 GB, free: 13.59 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.001082/0.802, allocations: 0.5566 MB / 1.023 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.802, allocations: 12.03 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.943e-05/0.8022, allocations: 20.75 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.8025, allocations: 247.4 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.8025, allocations: 8 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.8026, allocations: 12 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.8028, allocations: 116.5 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.8029, allocations: 3.938 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.8029, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-06/0.8029, allocations: 4 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001251/0.803, allocations: 51.97 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.8041, allocations: 0.5473 MB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.8043, allocations: 101.2 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.47e-05/0.8044, allocations: 45.77 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.8044, allocations: 3.984 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002537/0.8046, allocations: 121 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.8047, allocations: 0 / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004133/0.8051, allocations: 161.2 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.058e-05/0.8052, allocations: 85.11 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.8054, allocations: 203.2 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.8055, allocations: 33.7 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.8056, allocations: 132.5 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.075e-05/0.8057, allocations: 31.66 kB / 1.025 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001425/0.8058, allocations: 57.67 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001826/0.806, allocations: 326.8 kB / 1.025 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.061e-05/0.8061, allocations: 31.98 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002971/0.8064, allocations: 144.5 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.8066, allocations: 117.8 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.8066, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003034/0.8069, allocations: 165.2 kB / 1.025 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.807, allocations: 4 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.807, allocations: 4 kB / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.807, allocations: 0 / 1.025 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.8071, allocations: 15.94 kB / 1.025 GB, free: 9.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.377e-06/0.8071, allocations: 4 kB / 1.025 GB, free: 9.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002259/0.8074, allocations: 35.97 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.8074, allocations: 4 kB / 1.025 GB, free: 9.902 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.0001429/0.8075, allocations: 143.5 kB / 1.026 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.8076, allocations: 15.81 kB / 1.026 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.638e-05/0.8076, allocations: 21.52 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.8076, allocations: 0 / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.8076, allocations: 4 kB / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.8077, allocations: 0 / 1.026 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.8083, allocations: 470.2 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.8083, allocations: 0 / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.423e-05/0.8083, allocations: 4 kB / 1.026 GB, free: 9.199 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.8084, allocations: 3.938 kB / 1.026 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.8084, allocations: 7.984 kB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.8084, allocations: 7.938 kB / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8084, allocations: 0 / 1.026 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.8087, allocations: 235.7 kB / 1.026 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.455e-05/0.8087, allocations: 92.91 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.8088, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.8089, allocations: 23.92 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.603e-05/0.809, allocations: 19.97 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.809, allocations: 8 kB / 1.026 GB, free: 8.773 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001313/0.8092, allocations: 144.2 kB / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8092, allocations: 0 / 1.027 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003447/0.8095, allocations: 47.94 kB / 1.027 GB, free: 8.586 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.0004514/0.81, allocations: 180.1 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002844/0.8103, allocations: 103.9 kB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.8103, allocations: 0 / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.8104, allocations: 52.67 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.8109, allocations: 69.69 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007523/0.8116, allocations: 352.1 kB / 1.027 GB, free: 7.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.812, allocations: 0.7281 MB / 1.028 GB, free: 7.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.998e-05/0.8121, allocations: 21.62 kB / 1.028 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.8122, allocations: 23.42 kB / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.8122, allocations: 0 / 1.028 GB, free: 7.043 MB / 0.7794 GB Notification: Performance of Templates: time 0.008543/0.8207, allocations: 3.528 MB / 1.032 GB, free: 3.539 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