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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 190.7 kB / 22.23 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.162/3.162, allocations: 496 MB / 0.7835 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=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 0.001922/0.001922, allocations: 67.7 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3377, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003247/0.3409, allocations: 1.77 MB / 1.309 GB, free: 16 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.3426, allocations: 0.9241 MB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.3427, allocations: 3.938 kB / 1.31 GB, free: 15.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.3429, allocations: 27.73 kB / 1.31 GB, free: 15.06 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.3433, allocations: 115.4 kB / 1.31 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003858/0.3436, allocations: 163.3 kB / 1.31 GB, free: 14.79 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003212/0.344, allocations: 243.4 kB / 1.31 GB, free: 14.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.3441, allocations: 25.73 kB / 1.31 GB, free: 14.52 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.3443, allocations: 127.5 kB / 1.311 GB, free: 14.4 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01323/0.3575, allocations: 1.657 MB / 1.312 GB, free: 13.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.3576, allocations: 19.94 kB / 1.312 GB, free: 13.16 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3577, allocations: 43.97 kB / 1.312 GB, free: 13.11 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.371e-05/0.3578, allocations: 43.78 kB / 1.312 GB, free: 13.07 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.000153/0.3579, allocations: 95.5 kB / 1.312 GB, free: 12.98 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000409/0.3583, allocations: 215.2 kB / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3584, allocations: 0 / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3584, allocations: 0 / 1.313 GB, free: 12.77 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3584, allocations: 4 kB / 1.313 GB, free: 12.76 MB / 1.014 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.0009309/0.3593, allocations: 496.6 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3593, allocations: 8.922 kB / 1.313 GB, free: 12.23 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.281e-05/0.3594, allocations: 24.83 kB / 1.313 GB, free: 12.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003132/0.3597, allocations: 186.7 kB / 1.313 GB, free: 12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.3597, allocations: 8 kB / 1.313 GB, free: 11.99 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.618e-05/0.3598, allocations: 16 kB / 1.313 GB, free: 11.97 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.36, allocations: 119.2 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.36, allocations: 0 / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.3601, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.3601, allocations: 4 kB / 1.313 GB, free: 11.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.3602, allocations: 54.16 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.3612, allocations: 0.5075 MB / 1.314 GB, free: 11.23 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001903/0.3614, allocations: 93.06 kB / 1.314 GB, free: 11.12 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.082e-05/0.3615, allocations: 41.77 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3615, allocations: 3.984 kB / 1.314 GB, free: 11.07 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003047/0.3618, allocations: 129.1 kB / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.3618, allocations: 0 / 1.314 GB, free: 10.93 MB / 1.014 GB Notification: Performance of matching and sorting (n=15): time 0.0003708/0.3622, allocations: 157.5 kB / 1.314 GB, free: 10.77 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3622, allocations: 89.22 kB / 1.314 GB, free: 10.66 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/0.3625, allocations: 207.4 kB / 1.315 GB, free: 10.45 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3625, allocations: 33.7 kB / 1.315 GB, free: 10.41 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3626, allocations: 120.5 kB / 1.315 GB, free: 10.29 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.336e-05/0.3627, allocations: 39.69 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3628, allocations: 57.67 kB / 1.315 GB, free: 10.18 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.3629, allocations: 330.8 kB / 1.315 GB, free: 9.852 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.363, allocations: 31.98 kB / 1.315 GB, free: 9.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.3632, allocations: 144 kB / 1.315 GB, free: 9.648 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.3634, allocations: 120.9 kB / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3634, allocations: 0 / 1.315 GB, free: 9.512 MB / 1.014 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002661/0.3637, allocations: 157.4 kB / 1.316 GB, free: 9.352 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.3637, allocations: 4 kB / 1.316 GB, free: 9.348 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.463e-06/0.3637, allocations: 7.938 kB / 1.316 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.3637, allocations: 4.156 kB / 1.316 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3638, allocations: 23.92 kB / 1.316 GB, free: 9.312 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.3638, allocations: 4 kB / 1.316 GB, free: 9.309 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002421/0.3641, allocations: 23.88 kB / 1.316 GB, free: 9.285 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.3641, allocations: 12 kB / 1.316 GB, free: 9.273 MB / 1.014 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.0001605/0.3642, allocations: 143.5 kB / 1.316 GB, free: 9.125 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.603e-05/0.3643, allocations: 19.89 kB / 1.316 GB, free: 9.105 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.3643, allocations: 17.47 kB / 1.316 GB, free: 9.086 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.3643, allocations: 8 kB / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3643, allocations: 0 / 1.316 GB, free: 9.078 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.3643, allocations: 3.984 kB / 1.316 GB, free: 9.074 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.365, allocations: 433.3 kB / 1.316 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.365, allocations: 0 / 1.316 GB, free: 8.602 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.365, allocations: 4 kB / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.365, allocations: 0 / 1.316 GB, free: 8.598 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.365, allocations: 11.92 kB / 1.316 GB, free: 8.586 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.365, allocations: 7.938 kB / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.365, allocations: 0 / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.3653, allocations: 224.2 kB / 1.317 GB, free: 8.34 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3653, allocations: 19.89 kB / 1.317 GB, free: 8.32 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.802e-05/0.3654, allocations: 8 kB / 1.317 GB, free: 8.312 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.3655, allocations: 11.92 kB / 1.317 GB, free: 8.301 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.698e-05/0.3656, allocations: 23.97 kB / 1.317 GB, free: 8.277 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.3656, allocations: 12 kB / 1.317 GB, free: 8.266 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.000146/0.3657, allocations: 141.2 kB / 1.317 GB, free: 8.129 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.3657, allocations: 0 / 1.317 GB, free: 8.129 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003285/0.3661, allocations: 55.88 kB / 1.317 GB, free: 8.074 MB / 1.014 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.0004114/0.3665, allocations: 186 kB / 1.317 GB, free: 7.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.3667, allocations: 87.91 kB / 1.317 GB, free: 7.824 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3667, allocations: 8.25 kB / 1.317 GB, free: 7.816 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.3668, allocations: 43.98 kB / 1.317 GB, free: 7.773 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004327/0.3673, allocations: 51.11 kB / 1.317 GB, free: 7.727 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006858/0.3679, allocations: 317.2 kB / 1.317 GB, free: 7.391 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004139/0.3684, allocations: 0.7282 MB / 1.318 GB, free: 6.637 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 8.057e-05/0.3684, allocations: 21.62 kB / 1.318 GB, free: 6.613 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.053e-05/0.3685, allocations: 23.44 kB / 1.318 GB, free: 6.59 MB / 1.014 GB Notification: Performance of SimCode: time 3.9e-07/0.3685, allocations: 0 / 1.318 GB, free: 6.59 MB / 1.014 GB Notification: Performance of Templates: time 0.008609/0.3771, allocations: 3.748 MB / 1.322 GB, free: 2.867 MB / 1.014 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput.pipe 2>&1) [Timeout 400] 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.886102798394859]