Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.001631/0.001631, allocations: 103.3 kB / 16.45 MB, free: 6.449 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.001762/0.001762, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.455/1.455, allocations: 230.6 MB / 252.8 MB, free: 9.137 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.172/3.172, allocations: 0.4899 GB / 0.7915 GB, free: 33.62 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.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff") [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.002028/0.002028, allocations: 76.27 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3743, allocations: 176.1 MB / 1.321 GB, free: 2.852 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.004178/0.3784, allocations: 1.761 MB / 1.323 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001873/0.3803, allocations: 0.9397 MB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.3804, allocations: 3.938 kB / 1.324 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.3807, allocations: 27.73 kB / 1.324 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0004841/0.3811, allocations: 123.4 kB / 1.324 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004194/0.3816, allocations: 151.6 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.3819, allocations: 247.3 kB / 1.324 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.382, allocations: 33.61 kB / 1.324 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3822, allocations: 111.7 kB / 1.325 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01686/0.399, allocations: 2.04 MB / 1.327 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001027/0.3991, allocations: 20 kB / 1.327 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000164/0.3993, allocations: 36 kB / 1.327 GB, free: 13.9 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.3994, allocations: 43.77 kB / 1.327 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.3996, allocations: 87.56 kB / 1.327 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.4001, allocations: 215.2 kB / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4001, allocations: 0 / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4001, allocations: 0 / 1.327 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4001, allocations: 0 / 1.327 GB, free: 13.56 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.001152/0.4013, allocations: 0.5642 MB / 1.327 GB, free: 12.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/0.4013, allocations: 11.98 kB / 1.327 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.4014, allocations: 24.8 kB / 1.327 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004255/0.4019, allocations: 247.6 kB / 1.328 GB, free: 12.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.4019, allocations: 8 kB / 1.328 GB, free: 12.61 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.978e-05/0.4019, allocations: 19.94 kB / 1.328 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.4022, allocations: 91.55 kB / 1.328 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.4022, allocations: 7.938 kB / 1.328 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.4022, allocations: 0 / 1.328 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.4022, allocations: 0 / 1.328 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002642/0.4025, allocations: 55.97 kB / 1.328 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001078/0.4036, allocations: 472.3 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.4041, allocations: 126.7 kB / 1.328 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.24e-05/0.4042, allocations: 32.84 kB / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.101e-05/0.4043, allocations: 0 / 1.329 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003836/0.4046, allocations: 115.3 kB / 1.329 GB, free: 11.63 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.4046, allocations: 0 / 1.329 GB, free: 11.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000488/0.4051, allocations: 165.6 kB / 1.329 GB, free: 11.46 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.891e-05/0.4052, allocations: 63.28 kB / 1.329 GB, free: 11.39 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002828/0.4055, allocations: 200.3 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.4055, allocations: 29.7 kB / 1.329 GB, free: 11.14 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.4057, allocations: 120.5 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.4057, allocations: 39.73 kB / 1.329 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.4059, allocations: 57.67 kB / 1.329 GB, free: 10.92 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.4061, allocations: 330.8 kB / 1.33 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.4062, allocations: 35.98 kB / 1.33 GB, free: 10.55 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003355/0.4065, allocations: 129.7 kB / 1.33 GB, free: 10.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.4066, allocations: 96.14 kB / 1.33 GB, free: 10.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4066, allocations: 0 / 1.33 GB, free: 10.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002604/0.4069, allocations: 160.3 kB / 1.33 GB, free: 10.13 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4069, allocations: 8.031 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.4069, allocations: 4 kB / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.4069, allocations: 0 / 1.33 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.696e-05/0.407, allocations: 19.94 kB / 1.33 GB, free: 10.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.407, allocations: 4 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002213/0.4072, allocations: 27.86 kB / 1.33 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.4073, allocations: 8 kB / 1.33 GB, free: 10.06 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.000142/0.4074, allocations: 139.5 kB / 1.33 GB, free: 9.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.41e-05/0.4074, allocations: 19.91 kB / 1.33 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.632e-05/0.4075, allocations: 21.86 kB / 1.33 GB, free: 9.867 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.4075, allocations: 4 kB / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4075, allocations: 0 / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4075, allocations: 0 / 1.33 GB, free: 9.863 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007231/0.4082, allocations: 493 kB / 1.331 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4082, allocations: 7.984 kB / 1.331 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.4083, allocations: 4 kB / 1.331 GB, free: 9.316 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4083, allocations: 7.938 kB / 1.331 GB, free: 9.309 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.4083, allocations: 4 kB / 1.331 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.125e-05/0.4083, allocations: 3.938 kB / 1.331 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4083, allocations: 0 / 1.331 GB, free: 9.301 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.4086, allocations: 235.2 kB / 1.331 GB, free: 9.055 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.4086, allocations: 92.95 kB / 1.331 GB, free: 8.945 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.4087, allocations: 8 kB / 1.331 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.4088, allocations: 19.91 kB / 1.331 GB, free: 8.918 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.951e-05/0.4089, allocations: 19.98 kB / 1.331 GB, free: 8.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.4089, allocations: 11.98 kB / 1.331 GB, free: 8.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001386/0.409, allocations: 140.2 kB / 1.331 GB, free: 8.75 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.409, allocations: 4 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003242/0.4094, allocations: 43.94 kB / 1.331 GB, free: 8.703 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.0004206/0.4098, allocations: 164.4 kB / 1.331 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.41, allocations: 102.7 kB / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.41, allocations: 0 / 1.332 GB, free: 8.457 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.472e-05/0.4101, allocations: 43.98 kB / 1.332 GB, free: 8.414 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/0.4106, allocations: 67.84 kB / 1.332 GB, free: 8.352 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.4111, allocations: 298.9 kB / 1.332 GB, free: 8.035 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.4115, allocations: 0.7245 MB / 1.333 GB, free: 7.285 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.792e-05/0.4116, allocations: 25.53 kB / 1.333 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.4116, allocations: 27.42 kB / 1.333 GB, free: 7.23 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.4116, allocations: 0 / 1.333 GB, free: 7.23 MB / 1.029 GB Notification: Performance of Templates: time 0.00829/0.4199, allocations: 3.742 MB / 1.336 GB, free: 3.531 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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: 8.878655098378658]