Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.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.001596/0.001596, allocations: 104.2 kB / 19.75 MB, free: 1.922 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.002067/0.002067, allocations: 216 kB / 23.04 MB, free: 4.473 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 0.49 GB / 0.7959 GB, free: 35.42 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 70.23 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.355, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff): time 0.003271/0.3583, allocations: 1.734 MB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00169/0.36, allocations: 0.9124 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.75e-05/0.36, allocations: 4 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001811/0.3602, allocations: 31.66 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003928/0.3606, allocations: 119.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.361, allocations: 159.7 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.3613, allocations: 235.4 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.3614, allocations: 29.73 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001541/0.3616, allocations: 119.7 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0154/0.377, allocations: 1.986 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.3771, allocations: 16 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.3772, allocations: 39.98 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.606e-05/0.3773, allocations: 43.83 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.3774, allocations: 79.58 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004342/0.3779, allocations: 223.1 kB / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3779, allocations: 0 / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3779, allocations: 0 / 1.333 GB, free: 11.73 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.3779, allocations: 0 / 1.333 GB, free: 11.73 MB / 1.029 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.0008635/0.3787, allocations: 492.7 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3788, allocations: 12.03 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.322e-05/0.3789, allocations: 24.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.3791, allocations: 189.7 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.3792, allocations: 12 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.858e-05/0.3792, allocations: 16 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.3794, allocations: 112.5 kB / 1.334 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3794, allocations: 7.938 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3795, allocations: 4 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3795, allocations: 4 kB / 1.334 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.3796, allocations: 51.97 kB / 1.334 GB, free: 10.75 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.3804, allocations: 464.3 kB / 1.334 GB, free: 10.26 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.3806, allocations: 89.25 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.961e-05/0.3807, allocations: 49.75 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3807, allocations: 0 / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.3809, allocations: 117 kB / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.403e-06/0.3809, allocations: 0 / 1.334 GB, free: 9.965 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003496/0.3813, allocations: 165.5 kB / 1.334 GB, free: 9.797 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.3813, allocations: 85.09 kB / 1.335 GB, free: 9.695 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3816, allocations: 207 kB / 1.335 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.895e-05/0.3816, allocations: 41.62 kB / 1.335 GB, free: 9.434 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.3817, allocations: 120.6 kB / 1.335 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.507e-05/0.3817, allocations: 35.73 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.906e-05/0.3818, allocations: 61.67 kB / 1.335 GB, free: 9.211 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.382, allocations: 330.8 kB / 1.335 GB, free: 8.879 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.3821, allocations: 31.98 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003062/0.3824, allocations: 245.6 kB / 1.336 GB, free: 8.551 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.3825, allocations: 113.9 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3825, allocations: 4 kB / 1.336 GB, free: 8.414 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002634/0.3828, allocations: 160.6 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3828, allocations: 4 kB / 1.336 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.3828, allocations: 4 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.3828, allocations: 4 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.919e-05/0.3829, allocations: 15.94 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.3829, allocations: 3.984 kB / 1.336 GB, free: 8.223 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.3831, allocations: 28.03 kB / 1.336 GB, free: 8.195 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3831, allocations: 15.94 kB / 1.336 GB, free: 8.18 MB / 1.029 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.0001438/0.3833, allocations: 142 kB / 1.336 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.024e-05/0.3833, allocations: 15.91 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.3834, allocations: 25.45 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.3834, allocations: 4 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3834, allocations: 0 / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3834, allocations: 0 / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.3839, allocations: 394 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3839, allocations: 4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.544e-05/0.384, allocations: 7.984 kB / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.384, allocations: 0 / 1.336 GB, free: 7.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.384, allocations: 4 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.384, allocations: 0 / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.384, allocations: 3.938 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002767/0.3843, allocations: 244 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3843, allocations: 15.91 kB / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.3843, allocations: 0 / 1.337 GB, free: 7.266 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.3844, allocations: 11.98 kB / 1.337 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.631e-05/0.3845, allocations: 27.91 kB / 1.337 GB, free: 7.227 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.741e-05/0.3845, allocations: 15.98 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001329/0.3847, allocations: 136.5 kB / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3847, allocations: 0 / 1.337 GB, free: 7.078 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003084/0.385, allocations: 47.94 kB / 1.337 GB, free: 7.031 MB / 1.029 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.0004161/0.3854, allocations: 187.9 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002357/0.3856, allocations: 95.91 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3856, allocations: 0 / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3857, allocations: 52.22 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.3862, allocations: 47.97 kB / 1.337 GB, free: 6.676 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006006/0.3868, allocations: 325.7 kB / 1.338 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001261/0.3869, allocations: 112.2 kB / 1.338 GB, free: 6.191 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.3869, allocations: 23.44 kB / 1.338 GB, free: 6.168 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.3869, allocations: 3.938 kB / 1.338 GB, free: 6.164 MB / 1.029 GB Notification: Performance of Templates: time 0.005778/0.3927, allocations: 3.239 MB / 1.341 GB, free: 2.949 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationLocalInputFirstOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInputFirstOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,plotConfiguration.active,sca.active,scaDel.active Variables in the result:plotConfiguration.active,sca.active,scaDel.active,time [Calling sys.exit(0), Time elapsed: 11.97500639501959]