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.001425/0.001425, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001601/0.001601, allocations: 215.5 kB / 22.25 MB, free: 4.855 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.809 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.3/3.3, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 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.003115/0.003115, allocations: 73.38 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3823, allocations: 176.1 MB / 1.325 GB, free: 1.902 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationLocalInput): time 0.004583/0.3869, allocations: 1.722 MB / 1.327 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002486/0.3894, allocations: 0.9085 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002136/0.3896, allocations: 7.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0003128/0.3899, allocations: 27.73 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007264/0.3906, allocations: 119.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006615/0.3913, allocations: 161.1 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.3918, allocations: 239.4 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001963/0.392, allocations: 29.72 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.3924, allocations: 123.6 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01374/0.4061, allocations: 1.654 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.597e-05/0.4062, allocations: 16 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001663/0.4064, allocations: 47.92 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.431e-05/0.4065, allocations: 43.83 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001385/0.4066, allocations: 75.62 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004415/0.407, allocations: 223.1 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.407, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.344e-06/0.407, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.173e-06/0.4071, allocations: 0 / 1.331 GB, free: 12.95 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.0009615/0.408, allocations: 0.4889 MB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4081, allocations: 8.031 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.61e-05/0.4081, allocations: 28.78 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003243/0.4085, allocations: 185.7 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.4085, allocations: 8 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.811e-05/0.4085, allocations: 16 kB / 1.331 GB, free: 12.15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002395/0.4088, allocations: 117 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4088, allocations: 0 / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.4088, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.4088, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.4089, allocations: 55.88 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/0.4098, allocations: 460.3 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.41, allocations: 93.06 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.101e-05/0.4101, allocations: 41.77 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4101, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003008/0.4104, allocations: 133.1 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.4104, allocations: 0 / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=15): time 0.0003846/0.4108, allocations: 166.3 kB / 1.332 GB, free: 11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.658e-05/0.4109, allocations: 81.11 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002489/0.4111, allocations: 211.1 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.269e-05/0.4112, allocations: 33.7 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4113, allocations: 120.5 kB / 1.333 GB, free: 10.53 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.398e-05/0.4113, allocations: 31.88 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-05/0.4114, allocations: 61.67 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.4116, allocations: 330.8 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.4116, allocations: 31.98 kB / 1.333 GB, free: 10.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003351/0.412, allocations: 253.6 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.4121, allocations: 112.8 kB / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.4121, allocations: 0 / 1.334 GB, free: 9.633 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002949/0.4124, allocations: 161.4 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.4125, allocations: 8 kB / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4125, allocations: 0 / 1.334 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.4125, allocations: 4 kB / 1.334 GB, free: 9.457 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.4126, allocations: 19.92 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.4126, allocations: 0 / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.4128, allocations: 31.88 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.4128, allocations: 8.156 kB / 1.334 GB, free: 9.398 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.0001679/0.413, allocations: 140 kB / 1.334 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.413, allocations: 23.89 kB / 1.334 GB, free: 9.227 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.955e-05/0.4131, allocations: 21.47 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4131, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.4131, allocations: 0 / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.4131, allocations: 4 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.4138, allocations: 389.9 kB / 1.334 GB, free: 8.777 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/0.4138, allocations: 7.922 kB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.376e-05/0.4138, allocations: 8 kB / 1.334 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4138, allocations: 4 kB / 1.334 GB, free: 8.758 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4138, allocations: 4 kB / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.4138, allocations: 0 / 1.334 GB, free: 8.754 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4138, allocations: 7.938 kB / 1.335 GB, free: 8.746 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.4141, allocations: 236.1 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.19e-05/0.4141, allocations: 11.91 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.4142, allocations: 4 kB / 1.335 GB, free: 8.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.4143, allocations: 15.97 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.287e-05/0.4144, allocations: 23.91 kB / 1.335 GB, free: 8.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.4144, allocations: 16 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001387/0.4145, allocations: 144.2 kB / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4145, allocations: 0 / 1.335 GB, free: 8.285 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003109/0.4149, allocations: 43.94 kB / 1.335 GB, free: 8.242 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.0004289/0.4153, allocations: 173.6 kB / 1.335 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4155, allocations: 98.77 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.4155, allocations: 0 / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.4156, allocations: 48.23 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.4161, allocations: 58.2 kB / 1.335 GB, free: 7.898 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006561/0.4167, allocations: 327.8 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.4168, allocations: 104.1 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.165e-05/0.4169, allocations: 29.61 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.417, allocations: 27.42 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.417, allocations: 0 / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of Templates: time 0.009057/0.426, allocations: 4.041 MB / 1.34 GB, free: 3.41 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/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: 9.352152202278376]