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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001224/0.001224, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.00189/0.001891, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437.7 MB / 0.7117 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.0004363, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8319/0.8324, allocations: 153.8 MB / 1.022 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.002922/0.8354, allocations: 1.512 MB / 1.024 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001675/0.8371, allocations: 0.8896 MB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.8372, allocations: 7.938 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.8375, allocations: 23.8 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003226/0.8378, allocations: 95.58 kB / 1.025 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003933/0.8382, allocations: 135.8 kB / 1.025 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.8385, allocations: 207.4 kB / 1.025 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.8386, allocations: 25.67 kB / 1.025 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.8388, allocations: 103.6 kB / 1.025 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/0.8441, allocations: 3.377 MB / 1.029 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.8441, allocations: 11.94 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.8442, allocations: 24 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.219e-05/0.8443, allocations: 35.83 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.8443, allocations: 49.64 kB / 1.029 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.8446, allocations: 147.6 kB / 1.029 GB, free: 9.387 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/0.8446, allocations: 4 kB / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.946e-06/0.8446, allocations: 0 / 1.029 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.8446, allocations: 0 / 1.029 GB, free: 9.383 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.0009447/0.8456, allocations: 0.5253 MB / 1.029 GB, free: 8.797 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.8456, allocations: 12.56 kB / 1.029 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.498e-05/0.8457, allocations: 15.81 kB / 1.029 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.8461, allocations: 238.7 kB / 1.03 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.8461, allocations: 11.98 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.8462, allocations: 16 kB / 1.03 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.8464, allocations: 111.3 kB / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.8464, allocations: 0 / 1.03 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.991e-05/0.8465, allocations: 8 kB / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.8465, allocations: 0 / 1.03 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.8466, allocations: 59.83 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001058/0.8477, allocations: 0.5552 MB / 1.03 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.8479, allocations: 97.02 kB / 1.03 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.198e-05/0.848, allocations: 41.77 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.729e-05/0.848, allocations: 4 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003187/0.8484, allocations: 125.2 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.422e-06/0.8484, allocations: 0 / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0004308/0.8488, allocations: 158.7 kB / 1.031 GB, free: 7.207 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.94e-05/0.8489, allocations: 89.23 kB / 1.031 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002644/0.8492, allocations: 194.7 kB / 1.031 GB, free: 6.898 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.8492, allocations: 33.7 kB / 1.031 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.8494, allocations: 120.4 kB / 1.031 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.837e-05/0.8494, allocations: 43.53 kB / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.8494, allocations: 0 / 1.031 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.8496, allocations: 326.8 kB / 1.032 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.273e-05/0.8497, allocations: 32.36 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002762/0.85, allocations: 134.7 kB / 1.032 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.8501, allocations: 46.06 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.8501, allocations: 3.953 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002725/0.8504, allocations: 161.3 kB / 1.032 GB, free: 5.957 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.8504, allocations: 4 kB / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.8505, allocations: 0 / 1.032 GB, free: 5.953 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8505, allocations: 7.938 kB / 1.032 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.765e-05/0.8506, allocations: 19.92 kB / 1.032 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.8506, allocations: 8.156 kB / 1.032 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.8508, allocations: 27.89 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.8508, allocations: 8 kB / 1.032 GB, free: 5.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.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,$whenCondition2,$whenCondition4,$whenCondition3,$whenCondition1,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001725/0.851, allocations: 143.5 kB / 1.032 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.8511, allocations: 19.77 kB / 1.032 GB, free: 5.715 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.889e-05/0.8511, allocations: 17.53 kB / 1.032 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.8511, allocations: 8 kB / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.8511, allocations: 0 / 1.032 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.8511, allocations: 8.062 kB / 1.032 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005823/0.8517, allocations: 466.2 kB / 1.033 GB, free: 5.176 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.8518, allocations: 8 kB / 1.033 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.486e-05/0.8518, allocations: 11.92 kB / 1.033 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.8518, allocations: 4 kB / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.998e-06/0.8518, allocations: 0 / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8518, allocations: 0 / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.8518, allocations: 4 kB / 1.033 GB, free: 5.148 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.8521, allocations: 229.6 kB / 1.033 GB, free: 4.906 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.8521, allocations: 96.92 kB / 1.033 GB, free: 4.793 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.8522, allocations: 7.984 kB / 1.033 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.8523, allocations: 19.98 kB / 1.033 GB, free: 4.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.8524, allocations: 15.97 kB / 1.033 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.649e-05/0.8524, allocations: 12 kB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001382/0.8525, allocations: 140.9 kB / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8526, allocations: 0 / 1.033 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003185/0.8529, allocations: 51.91 kB / 1.033 GB, free: 4.551 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003831/0.8533, allocations: 184.2 kB / 1.033 GB, free: 4.383 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.8535, allocations: 96.89 kB / 1.033 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.8535, allocations: 3.938 kB / 1.033 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.425e-05/0.8536, allocations: 47.98 kB / 1.034 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.8541, allocations: 65.66 kB / 1.034 GB, free: 4.176 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000612/0.8547, allocations: 323.1 kB / 1.034 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.8551, allocations: 0.7247 MB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.095e-05/0.8552, allocations: 21.55 kB / 1.035 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.304e-05/0.8553, allocations: 23.42 kB / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.8553, allocations: 0 / 1.035 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of Templates: time 0.008748/0.864, allocations: 3.278 MB / 1.038 GB, free: 15.8 MB / 0.795 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=480 -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