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.001311/0.001311, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001425/0.001425, allocations: 211.8 kB / 22.99 MB, free: 4.945 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.478/1.478, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.19/3.19, allocations: 0.4892 GB / 0.7951 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] 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.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: 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.002103/0.002103, allocations: 72.8 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3728, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.003909/0.3767, allocations: 1.719 MB / 1.328 GB, free: 132 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002163/0.3788, allocations: 0.9086 MB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.379, allocations: 7.938 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.3792, allocations: 27.72 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005464/0.3797, allocations: 119.5 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.3802, allocations: 167.5 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004257/0.3807, allocations: 235.4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.3808, allocations: 33.72 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.3811, allocations: 115.7 kB / 1.33 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01333/0.3944, allocations: 1.66 MB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.3945, allocations: 16 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.3946, allocations: 40 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.3947, allocations: 39.83 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.3948, allocations: 83.62 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004186/0.3953, allocations: 215.1 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3953, allocations: 0 / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.378e-06/0.3953, allocations: 4 kB / 1.332 GB, free: 12.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.3953, allocations: 0 / 1.332 GB, free: 12.91 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.0009379/0.3962, allocations: 0.4928 MB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3963, allocations: 12.03 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.462e-05/0.3963, allocations: 24.8 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003569/0.3967, allocations: 185.7 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3967, allocations: 15.94 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.962e-05/0.3968, allocations: 12 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.397, allocations: 120.9 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.397, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.397, allocations: 4 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.397, allocations: 11.98 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3971, allocations: 47.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.398, allocations: 464.3 kB / 1.333 GB, free: 11.42 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.3982, allocations: 85.27 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.3983, allocations: 37.77 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.3983, allocations: 4 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.3986, allocations: 128.9 kB / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.3986, allocations: 0 / 1.333 GB, free: 11.13 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003736/0.3989, allocations: 159.4 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.399, allocations: 89.05 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.3993, allocations: 203.1 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.3993, allocations: 33.7 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3994, allocations: 124.5 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3995, allocations: 35.73 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.835e-05/0.3996, allocations: 61.8 kB / 1.334 GB, free: 10.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3998, allocations: 326.8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.543e-05/0.3998, allocations: 35.98 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003949/0.4002, allocations: 246 kB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4004, allocations: 118.4 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4004, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002768/0.4007, allocations: 158.3 kB / 1.335 GB, free: 9.43 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.4007, allocations: 4 kB / 1.335 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4007, allocations: 11.92 kB / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.4007, allocations: 0 / 1.335 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.4008, allocations: 19.92 kB / 1.335 GB, free: 9.395 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4008, allocations: 4 kB / 1.335 GB, free: 9.391 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.4011, allocations: 27.88 kB / 1.335 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.4011, allocations: 8 kB / 1.335 GB, free: 9.355 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.0001548/0.4012, allocations: 148.2 kB / 1.335 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.4013, allocations: 19.89 kB / 1.335 GB, free: 9.18 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.4013, allocations: 17.47 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.4013, allocations: 7.984 kB / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.4013, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4013, allocations: 0 / 1.335 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.402, allocations: 397.3 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.402, allocations: 3.938 kB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.402, allocations: 4 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.402, allocations: 4 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.402, allocations: 8 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.402, allocations: 0 / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.402, allocations: 3.938 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002728/0.4023, allocations: 240.1 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.941e-05/0.4023, allocations: 11.91 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.4023, allocations: 7.984 kB / 1.336 GB, free: 8.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.4025, allocations: 11.98 kB / 1.336 GB, free: 8.418 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.4025, allocations: 23.91 kB / 1.336 GB, free: 8.395 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.4026, allocations: 4 kB / 1.336 GB, free: 8.391 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001498/0.4027, allocations: 152.2 kB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.4027, allocations: 0 / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003625/0.4031, allocations: 51.92 kB / 1.336 GB, free: 8.191 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.000443/0.4035, allocations: 164 kB / 1.336 GB, free: 8.047 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.4038, allocations: 95.83 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4038, allocations: 8 kB / 1.336 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.4039, allocations: 49.8 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.4043, allocations: 57.28 kB / 1.336 GB, free: 7.848 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006977/0.405, allocations: 349.5 kB / 1.336 GB, free: 7.473 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.4051, allocations: 112.1 kB / 1.337 GB, free: 7.344 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.4052, allocations: 27.42 kB / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of SimCode: time 3.2e-07/0.4052, allocations: 0 / 1.337 GB, free: 7.316 MB / 1.029 GB Notification: Performance of Templates: time 0.006193/0.4114, allocations: 3.258 MB / 1.34 GB, free: 4.078 MB / 1.029 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/jenkins1/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: 12.026388914324343]