Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.001561/0.001561, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001759/0.001759, allocations: 220 kB / 23.05 MB, free: 4.844 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.777 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.161/3.161, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput") [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.00203/0.00203, allocations: 69.61 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3924, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003618/0.396, allocations: 1.727 MB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001841/0.3979, allocations: 0.9047 MB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.398, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002039/0.3982, allocations: 23.73 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004324/0.3986, allocations: 127.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.3991, allocations: 155.6 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003711/0.3994, allocations: 243.4 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.3996, allocations: 33.66 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.3998, allocations: 107.7 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01354/0.4133, allocations: 1.713 MB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.835e-05/0.4134, allocations: 16 kB / 1.332 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.4135, allocations: 39.98 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/0.4136, allocations: 39.84 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.4137, allocations: 79.69 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.4142, allocations: 223.1 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.4142, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4142, allocations: 0 / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.4142, allocations: 0 / 1.332 GB, free: 11.96 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.00087/0.415, allocations: 488.7 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4151, allocations: 8.031 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.216e-05/0.4152, allocations: 24.8 kB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.4155, allocations: 197.7 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/0.4155, allocations: 8 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.392e-05/0.4155, allocations: 16 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.4157, allocations: 91.55 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.4158, allocations: 0 / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.755e-05/0.4158, allocations: 7.922 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/0.4158, allocations: 4 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.4159, allocations: 51.97 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00079/0.4167, allocations: 372.1 kB / 1.334 GB, free: 10.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004626/0.4171, allocations: 126.7 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.915e-05/0.4172, allocations: 32.84 kB / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.4173, allocations: 0 / 1.334 GB, free: 10.45 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.4175, allocations: 107.3 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.694e-06/0.4175, allocations: 0 / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0003709/0.4179, allocations: 181.5 kB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.418, allocations: 55.41 kB / 1.334 GB, free: 10.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002279/0.4182, allocations: 199.2 kB / 1.334 GB, free: 9.875 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.058e-05/0.4182, allocations: 37.69 kB / 1.334 GB, free: 9.832 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.4183, allocations: 116.5 kB / 1.334 GB, free: 9.715 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.4184, allocations: 35.73 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.4185, allocations: 57.67 kB / 1.335 GB, free: 9.617 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.4187, allocations: 334.8 kB / 1.335 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.799e-05/0.4187, allocations: 27.98 kB / 1.335 GB, free: 9.254 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/0.4191, allocations: 243.7 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.4192, allocations: 108 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4192, allocations: 0 / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002554/0.4195, allocations: 152.3 kB / 1.335 GB, free: 8.691 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4195, allocations: 4 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.4195, allocations: 8.125 kB / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4195, allocations: 0 / 1.335 GB, free: 8.68 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.28e-05/0.4196, allocations: 19.92 kB / 1.335 GB, free: 8.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.4196, allocations: 4 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002075/0.4198, allocations: 27.86 kB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.4198, allocations: 8 kB / 1.335 GB, free: 8.621 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,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,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * 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.0001655/0.42, allocations: 144 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.42, allocations: 19.86 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.4201, allocations: 21.81 kB / 1.336 GB, free: 8.422 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.4201, allocations: 12 kB / 1.336 GB, free: 8.41 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4201, allocations: 3.984 kB / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4201, allocations: 0 / 1.336 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.4207, allocations: 413.9 kB / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4207, allocations: 0 / 1.336 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/0.4208, allocations: 11.98 kB / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.4208, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4208, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4208, allocations: 0 / 1.336 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4208, allocations: 11.94 kB / 1.336 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.4211, allocations: 238.3 kB / 1.336 GB, free: 7.695 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.678e-05/0.4211, allocations: 15.91 kB / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4211, allocations: 0 / 1.336 GB, free: 7.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4212, allocations: 15.98 kB / 1.336 GB, free: 7.664 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.4213, allocations: 31.83 kB / 1.336 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.4213, allocations: 4 kB / 1.336 GB, free: 7.629 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000136/0.4215, allocations: 148.2 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4215, allocations: 0 / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000299/0.4218, allocations: 40 kB / 1.337 GB, free: 7.445 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.0004354/0.4222, allocations: 184.5 kB / 1.337 GB, free: 7.281 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002519/0.4225, allocations: 103.2 kB / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4225, allocations: 0 / 1.337 GB, free: 7.184 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.33e-05/0.4226, allocations: 51.8 kB / 1.337 GB, free: 7.133 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.423, allocations: 64.69 kB / 1.337 GB, free: 7.074 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007098/0.4237, allocations: 341 kB / 1.337 GB, free: 6.711 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.4238, allocations: 112.1 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.977e-05/0.4239, allocations: 23.44 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of SimCode: time 3.31e-07/0.4239, allocations: 0 / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of Templates: time 0.005986/0.4298, allocations: 3.275 MB / 1.341 GB, free: 3.297 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.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.124473336851224]