Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002545/0.002545, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00332/0.00332, allocations: 157.3 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.991/2.991, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.799e-05/3.951e-05, allocations: 4.562 kB / 0.8108 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003576/0.003615, allocations: 1.769 MB / 0.8125 GB, free: 372 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001996/0.005612, allocations: 0.9193 MB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.005712, allocations: 3.938 kB / 0.8134 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002454/0.005957, allocations: 28.97 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005042/0.006461, allocations: 123.3 kB / 0.8135 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004691/0.00693, allocations: 158.1 kB / 0.8137 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.007305, allocations: 247.3 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.007452, allocations: 25.78 kB / 0.814 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.007681, allocations: 147.7 kB / 0.8141 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01937/0.02705, allocations: 2.662 MB / 0.8167 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001052/0.02716, allocations: 16.53 kB / 0.8167 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.02731, allocations: 39.92 kB / 0.8168 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.972e-05/0.0274, allocations: 40.36 kB / 0.8168 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.02755, allocations: 72.77 kB / 0.8169 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005187/0.02807, allocations: 239.2 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.02807, allocations: 0 / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.318e-06/0.02808, allocations: 4.703 kB / 0.8171 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.02808, allocations: 0 / 0.8171 GB, free: 12.75 MB / 0.7761 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.001085/0.02917, allocations: 0.5864 MB / 0.8177 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.02921, allocations: 12.03 kB / 0.8177 GB, free: 12.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001131/0.02932, allocations: 26 kB / 0.8177 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.02967, allocations: 192.8 kB / 0.8179 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.02969, allocations: 8.375 kB / 0.8179 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.02973, allocations: 16.81 kB / 0.8179 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.02999, allocations: 124.9 kB / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.03, allocations: 0.8438 kB / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.03001, allocations: 4 kB / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.401e-05/0.03004, allocations: 5.281 kB / 0.818 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.03017, allocations: 51.88 kB / 0.8181 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.03122, allocations: 0.5664 MB / 0.8186 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.03145, allocations: 115.6 kB / 0.8188 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/0.03153, allocations: 43.42 kB / 0.8188 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.03155, allocations: 4 kB / 0.8188 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.0318, allocations: 133.6 kB / 0.8189 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.914e-06/0.0318, allocations: 4 kB / 0.8189 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0004392/0.03224, allocations: 168.2 kB / 0.8191 GB, free: 10.53 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.872e-05/0.03232, allocations: 85.11 kB / 0.8192 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.03264, allocations: 287.7 kB / 0.8194 GB, free: 10.13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.813e-05/0.03268, allocations: 33.69 kB / 0.8195 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.03283, allocations: 183.2 kB / 0.8197 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.323e-05/0.03288, allocations: 31.75 kB / 0.8197 GB, free: 9.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.03301, allocations: 75.33 kB / 0.8198 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.03329, allocations: 0.504 MB / 0.8202 GB, free: 9.277 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-05/0.03337, allocations: 32.48 kB / 0.8203 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003782/0.03375, allocations: 275.3 kB / 0.8205 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.03395, allocations: 131.8 kB / 0.8207 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.03395, allocations: 1.344 kB / 0.8207 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003021/0.03425, allocations: 166.5 kB / 0.8208 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.03427, allocations: 10.28 kB / 0.8208 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.03428, allocations: 7.938 kB / 0.8208 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.03429, allocations: 0.6562 kB / 0.8208 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.03441, allocations: 23.98 kB / 0.8209 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.03442, allocations: 2.438 kB / 0.8209 GB, free: 8.543 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002085/0.03463, allocations: 27.88 kB / 0.8209 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.03465, allocations: 15.94 kB / 0.8209 GB, free: 8.5 MB / 0.7761 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.0001714/0.03482, allocations: 182.6 kB / 0.8211 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.828e-05/0.03488, allocations: 31.8 kB / 0.8211 GB, free: 8.281 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.03493, allocations: 20.47 kB / 0.8211 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.03494, allocations: 0 / 0.8211 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.03495, allocations: 7.984 kB / 0.8211 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.03495, allocations: 0 / 0.8211 GB, free: 8.254 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006947/0.03564, allocations: 453.2 kB / 0.8216 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.03565, allocations: 0 / 0.8216 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.003e-05/0.03568, allocations: 7.938 kB / 0.8216 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.03568, allocations: 4.891 kB / 0.8216 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.0357, allocations: 4 kB / 0.8216 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.0357, allocations: 1.062 kB / 0.8216 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.0357, allocations: 0 / 0.8216 GB, free: 7.754 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.03603, allocations: 295.4 kB / 0.8219 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.18e-05/0.03606, allocations: 17.03 kB / 0.8219 GB, free: 7.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.03609, allocations: 4 kB / 0.8219 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000124/0.03621, allocations: 13.11 kB / 0.8219 GB, free: 7.41 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.129e-05/0.03629, allocations: 24 kB / 0.8219 GB, free: 7.387 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.03632, allocations: 8 kB / 0.8219 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001798/0.0365, allocations: 192 kB / 0.8221 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.1e-08/0.0365, allocations: 0 / 0.8221 GB, free: 7.191 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003237/0.03682, allocations: 51.88 kB / 0.8222 GB, free: 7.141 MB / 0.7761 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.0005439/0.03737, allocations: 173 kB / 0.8223 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002921/0.03766, allocations: 124.1 kB / 0.8225 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.03766, allocations: 0 / 0.8225 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.03779, allocations: 58.7 kB / 0.8225 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004712/0.03826, allocations: 67.28 kB / 0.8226 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007292/0.03899, allocations: 326.6 kB / 0.8229 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.03912, allocations: 108.2 kB / 0.823 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.75e-05/0.0392, allocations: 21.72 kB / 0.823 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.256e-05/0.03927, allocations: 32.48 kB / 0.823 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.03927, allocations: 0 / 0.823 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of Templates: time 0.009983/0.04926, allocations: 3.952 MB / 0.8269 GB, free: 2.328 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.396718575968407]