Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_10_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_10_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.00179/0.001789, allocations: 108 kB / 15.6 MB, free: 128 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.001949/0.001949, allocations: 197 kB / 16.53 MB, free: 6.672 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.499/1.499, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.75/2.75, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 63.89 kB / 0.8692 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7333, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003734/0.737, allocations: 1.736 MB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00197/0.739, allocations: 0.9007 MB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.7392, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.7395, allocations: 31.72 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.74, allocations: 115.4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.7405, allocations: 159.6 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003452/0.7409, allocations: 231.5 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.741, allocations: 41.67 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001997/0.7412, allocations: 115.6 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01556/0.7568, allocations: 1.974 MB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.433e-05/0.7569, allocations: 20 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.7571, allocations: 39.98 kB / 1.023 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.839e-05/0.7572, allocations: 47.83 kB / 1.023 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.7573, allocations: 83.58 kB / 1.023 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004119/0.7577, allocations: 223.2 kB / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.7577, allocations: 0 / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7577, allocations: 0 / 1.023 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.7578, allocations: 0 / 1.023 GB, free: 13.31 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.001056/0.7588, allocations: 0.5566 MB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.7589, allocations: 8.031 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.759, allocations: 20.75 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.7594, allocations: 247.5 kB / 1.024 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.259e-05/0.7594, allocations: 8 kB / 1.024 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.7595, allocations: 19.94 kB / 1.024 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002593/0.7598, allocations: 116.7 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.7598, allocations: 0 / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.703e-05/0.7598, allocations: 0 / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-06/0.7598, allocations: 4 kB / 1.024 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001333/0.76, allocations: 51.97 kB / 1.024 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.761, allocations: 0.5473 MB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.7612, allocations: 93.08 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.459e-05/0.7613, allocations: 45.77 kB / 1.025 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.7613, allocations: 0 / 1.025 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003662/0.7617, allocations: 133.1 kB / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.7617, allocations: 0 / 1.025 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004479/0.7622, allocations: 161.7 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.452e-05/0.7623, allocations: 85.14 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.7625, allocations: 203.6 kB / 1.025 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.7626, allocations: 33.7 kB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.7627, allocations: 124.3 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.179e-05/0.7628, allocations: 39.62 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.7629, allocations: 49.69 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.7631, allocations: 334.8 kB / 1.026 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.7631, allocations: 35.98 kB / 1.026 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.7634, allocations: 136.5 kB / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.7636, allocations: 115.5 kB / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.7636, allocations: 0 / 1.026 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002893/0.7639, allocations: 161.4 kB / 1.026 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.7639, allocations: 4 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.764, allocations: 4.156 kB / 1.026 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.764, allocations: 7.984 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.626e-05/0.7641, allocations: 23.92 kB / 1.026 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7641, allocations: 4 kB / 1.026 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002326/0.7643, allocations: 23.83 kB / 1.026 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.7644, allocations: 8 kB / 1.026 GB, free: 9.625 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.0001619/0.7645, allocations: 147.5 kB / 1.026 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.7646, allocations: 15.81 kB / 1.026 GB, free: 9.457 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.511e-05/0.7646, allocations: 21.53 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.7646, allocations: 3.984 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7646, allocations: 4 kB / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7646, allocations: 0 / 1.026 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.7653, allocations: 467.9 kB / 1.027 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.7653, allocations: 3.984 kB / 1.027 GB, free: 8.918 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.94e-05/0.7654, allocations: 7.938 kB / 1.027 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.7654, allocations: 4 kB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.7654, allocations: 0 / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.7654, allocations: 7.938 kB / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7654, allocations: 0 / 1.027 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.7657, allocations: 228.1 kB / 1.027 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.81e-05/0.7658, allocations: 88.92 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.965e-05/0.7658, allocations: 4 kB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.766, allocations: 23.91 kB / 1.027 GB, free: 8.523 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.554e-05/0.7661, allocations: 15.98 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.7661, allocations: 12 kB / 1.027 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001467/0.7663, allocations: 139.3 kB / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.607e-06/0.7663, allocations: 0 / 1.027 GB, free: 8.359 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003441/0.7666, allocations: 55.86 kB / 1.027 GB, free: 8.305 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.000445/0.7671, allocations: 172.3 kB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.7674, allocations: 107.8 kB / 1.028 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.7674, allocations: 0 / 1.028 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001089/0.7675, allocations: 51.92 kB / 1.028 GB, free: 7.988 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.768, allocations: 56.22 kB / 1.028 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006116/0.7686, allocations: 300.7 kB / 1.028 GB, free: 7.621 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.769, allocations: 0.7164 MB / 1.029 GB, free: 6.875 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.912e-05/0.7691, allocations: 21.53 kB / 1.029 GB, free: 6.855 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.784e-05/0.7691, allocations: 27.42 kB / 1.029 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.7691, allocations: 3.938 kB / 1.029 GB, free: 6.828 MB / 0.7794 GB Notification: Performance of Templates: time 0.009192/0.7783, allocations: 3.656 MB / 1.032 GB, free: 3.207 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile (rm -f Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches