Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001372/0.001372, allocations: 80.52 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001478/0.001478, allocations: 166.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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.467/1.467, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.848/2.848, allocations: 389 MB / 0.633 GB, free: 1.02 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 1 GB, free: 7.344 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.597e-05/2.733e-05, allocations: 2.281 kB / 1 GB, free: 7.34 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003459/0.003486, allocations: 1.726 MB / 1.002 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001881/0.005367, allocations: 0.9044 MB / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.005475, allocations: 0 / 1.003 GB, free: 4.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0002016/0.005677, allocations: 31.67 kB / 1.003 GB, free: 4.664 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000454/0.006131, allocations: 123.4 kB / 1.003 GB, free: 4.543 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.006583, allocations: 151.6 kB / 1.003 GB, free: 4.395 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003909/0.006974, allocations: 255.3 kB / 1.003 GB, free: 4.145 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.007124, allocations: 25.8 kB / 1.003 GB, free: 4.117 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.007392, allocations: 147.7 kB / 1.003 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0137/0.0211, allocations: 1.649 MB / 1.005 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.286e-05/0.02119, allocations: 20 kB / 1.005 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001668/0.02136, allocations: 51.84 kB / 1.005 GB, free: 2.688 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.607e-05/0.02144, allocations: 39.83 kB / 1.005 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.02158, allocations: 63.81 kB / 1.005 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0005539/0.02213, allocations: 239.3 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.02214, allocations: 0 / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.593e-06/0.02214, allocations: 0 / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.02216, allocations: 3.938 kB / 1.005 GB, free: 2.348 MB / 0.9512 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.001046/0.0232, allocations: 492.7 kB / 1.006 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.02324, allocations: 8.031 kB / 1.006 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.43e-05/0.02334, allocations: 24.8 kB / 1.006 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003352/0.02367, allocations: 193.8 kB / 1.006 GB, free: 1.578 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.0237, allocations: 8.375 kB / 1.006 GB, free: 1.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.02374, allocations: 23.92 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002632/0.02401, allocations: 115.3 kB / 1.006 GB, free: 1.422 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.02402, allocations: 3.938 kB / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.02403, allocations: 0 / 1.006 GB, free: 1.418 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.02404, allocations: 4 kB / 1.006 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.02418, allocations: 55.97 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009915/0.02517, allocations: 460.2 kB / 1.007 GB, free: 0.875 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.02538, allocations: 89.25 kB / 1.007 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.688e-05/0.02546, allocations: 41.77 kB / 1.007 GB, free: 0.7227 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.718e-05/0.02548, allocations: 4 kB / 1.007 GB, free: 0.7188 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003135/0.02579, allocations: 124.2 kB / 1.007 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.0258, allocations: 0 / 1.007 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of matching and sorting (n=15): time 0.0004183/0.02621, allocations: 159.4 kB / 1.007 GB, free: 432 kB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.02629, allocations: 85.05 kB / 1.007 GB, free: 328 kB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.02655, allocations: 212.2 kB / 1.007 GB, free: 104 kB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.347e-05/0.02659, allocations: 29.7 kB / 1.007 GB, free: 68 kB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.02673, allocations: 124.5 kB / 1.008 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.02678, allocations: 31.73 kB / 1.008 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.02689, allocations: 61.67 kB / 1.008 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.02707, allocations: 331 kB / 1.008 GB, free: 15.51 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.02715, allocations: 35.98 kB / 1.008 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003566/0.0275, allocations: 248.2 kB / 1.008 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001901/0.02769, allocations: 121.1 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.02769, allocations: 0 / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003082/0.028, allocations: 157.4 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.02802, allocations: 8 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.02803, allocations: 3.984 kB / 1.008 GB, free: 14.87 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.02805, allocations: 4 kB / 1.008 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.496e-05/0.02814, allocations: 15.94 kB / 1.009 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.02815, allocations: 0 / 1.009 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.0284, allocations: 31.88 kB / 1.009 GB, free: 14.82 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.825e-05/0.02842, allocations: 11.98 kB / 1.009 GB, free: 14.8 MB / 0.9669 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.0001563/0.02857, allocations: 136.5 kB / 1.009 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.02864, allocations: 23.8 kB / 1.009 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.341e-05/0.0287, allocations: 25.45 kB / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.0287, allocations: 0 / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.02871, allocations: 0 / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.02871, allocations: 96 / 1.009 GB, free: 14.62 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.02938, allocations: 397.9 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.02938, allocations: 0 / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.832e-05/0.02941, allocations: 4 kB / 1.009 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.02942, allocations: 4 kB / 1.009 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.02943, allocations: 15.92 kB / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.02944, allocations: 0 / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02944, allocations: 0 / 1.009 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.02973, allocations: 232.1 kB / 1.009 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.824e-05/0.02977, allocations: 19.84 kB / 1.009 GB, free: 13.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.0298, allocations: 8 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.02993, allocations: 7.984 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.195e-05/0.03003, allocations: 19.97 kB / 1.009 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.03005, allocations: 12 kB / 1.009 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001553/0.03021, allocations: 141.1 kB / 1.01 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.03021, allocations: 0 / 1.01 GB, free: 13.72 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003424/0.03055, allocations: 51.92 kB / 1.01 GB, free: 13.67 MB / 0.9669 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.0004635/0.03102, allocations: 180.2 kB / 1.01 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002694/0.03129, allocations: 90.41 kB / 1.01 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.03129, allocations: 4 kB / 1.01 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.0314, allocations: 47.92 kB / 1.01 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004693/0.03187, allocations: 54.19 kB / 1.01 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.03268, allocations: 303.4 kB / 1.01 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001393/0.03282, allocations: 108.2 kB / 1.01 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 9.935e-05/0.03292, allocations: 33.61 kB / 1.01 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.96e-05/0.033, allocations: 28.44 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of SimCode: time 3.1e-07/0.033, allocations: 0 / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of Templates: time 0.009581/0.04258, allocations: 3.92 MB / 1.014 GB, free: 8.934 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInput.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.125824924558401]