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.001357/0.001357, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001518/0.001518, allocations: 214.8 kB / 22.99 MB, free: 4.98 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.002027/0.002027, allocations: 63.94 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4204/0.4224, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.003392/0.4258, allocations: 1.72 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001772/0.4276, allocations: 0.9124 MB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.803e-05/0.4277, allocations: 0 / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.4279, allocations: 23.73 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.4283, allocations: 127.4 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003781/0.4287, allocations: 151.2 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003235/0.429, allocations: 243.5 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.4291, allocations: 29.67 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001536/0.4293, allocations: 119.7 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01352/0.4428, allocations: 1.717 MB / 1.332 GB, free: 12.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.000101/0.4429, allocations: 20 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001615/0.4431, allocations: 39.98 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.4432, allocations: 35.91 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.4433, allocations: 79.61 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004622/0.4437, allocations: 219.1 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.371e-06/0.4438, allocations: 7.938 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4438, allocations: 0 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.4438, allocations: 3.938 kB / 1.332 GB, free: 11.98 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.001044/0.4448, allocations: 488.7 kB / 1.333 GB, free: 11.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.4449, allocations: 12.02 kB / 1.333 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.813e-05/0.4449, allocations: 24.8 kB / 1.333 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.4453, allocations: 185.7 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.4453, allocations: 16 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.72e-05/0.4453, allocations: 16 kB / 1.333 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000204/0.4456, allocations: 86.5 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4456, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4456, allocations: 4 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.4456, allocations: 0 / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4457, allocations: 53.86 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008344/0.4465, allocations: 368.1 kB / 1.334 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.447, allocations: 130.7 kB / 1.334 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.4471, allocations: 36.78 kB / 1.334 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4471, allocations: 4 kB / 1.334 GB, free: 10.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003128/0.4474, allocations: 107.3 kB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 5.75e-06/0.4474, allocations: 4 kB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004061/0.4478, allocations: 177.5 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.019e-05/0.4479, allocations: 51.41 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.4481, allocations: 203.1 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.4482, allocations: 33.7 kB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4483, allocations: 120.5 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.4483, allocations: 27.75 kB / 1.334 GB, free: 9.711 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.4484, allocations: 65.66 kB / 1.334 GB, free: 9.641 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002211/0.4487, allocations: 330.8 kB / 1.335 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.4487, allocations: 31.98 kB / 1.335 GB, free: 9.277 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003156/0.449, allocations: 227.4 kB / 1.335 GB, free: 9.004 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.4492, allocations: 119.2 kB / 1.335 GB, free: 8.875 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4492, allocations: 3.938 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002525/0.4495, allocations: 149.5 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.4495, allocations: 4 kB / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.4495, allocations: 0 / 1.335 GB, free: 8.715 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.4495, allocations: 8.109 kB / 1.335 GB, free: 8.707 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.401e-05/0.4496, allocations: 19.94 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.4496, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.4498, allocations: 23.92 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4498, allocations: 11.94 kB / 1.335 GB, free: 8.652 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.0001769/0.45, allocations: 144 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.45, allocations: 19.86 kB / 1.336 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.028e-05/0.4501, allocations: 25.83 kB / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4501, allocations: 0 / 1.336 GB, free: 8.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.4501, allocations: 8 kB / 1.336 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.4501, allocations: 4 kB / 1.336 GB, free: 8.438 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007369/0.4508, allocations: 416.8 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.4508, allocations: 3.938 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.681e-05/0.4509, allocations: 7.984 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.4509, allocations: 4 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.4509, allocations: 4 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.4509, allocations: 0 / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4509, allocations: 0 / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002748/0.4512, allocations: 243.2 kB / 1.336 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.682e-05/0.4512, allocations: 15.91 kB / 1.336 GB, free: 7.707 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.4512, allocations: 4 kB / 1.336 GB, free: 7.703 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.4513, allocations: 15.97 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.779e-05/0.4514, allocations: 27.84 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.4515, allocations: 8 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000148/0.4516, allocations: 144.2 kB / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4516, allocations: 0 / 1.336 GB, free: 7.512 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003152/0.4519, allocations: 44 kB / 1.336 GB, free: 7.469 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.0004909/0.4524, allocations: 182.5 kB / 1.337 GB, free: 7.309 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002576/0.4527, allocations: 102.9 kB / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4527, allocations: 0 / 1.337 GB, free: 7.211 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.4528, allocations: 51.84 kB / 1.337 GB, free: 7.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.4532, allocations: 57.86 kB / 1.337 GB, free: 7.105 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007282/0.4539, allocations: 315 kB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.4541, allocations: 112.4 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.395e-05/0.4541, allocations: 17.64 kB / 1.337 GB, free: 6.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.4542, allocations: 27.42 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.4542, allocations: 0 / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of Templates: time 0.009246/0.4634, allocations: 4.123 MB / 1.341 GB, free: 2.543 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 -s cvode -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: 9.593939190002857]