Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.001546/0.001546, allocations: 114.9 kB / 17.13 MB, free: 6.008 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.001709/0.001709, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.08 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, allocations: 0.49 GB / 0.7923 GB, free: 1.379 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.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") translateModel(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|plotConfiguration.active|sca.active|scaDel.active",fileNamePrefix="Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn") [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.002046/0.002046, allocations: 63.91 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.139/1.141, allocations: 176.1 MB / 1.322 GB, free: 25.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn): time 0.002859/1.144, allocations: 1.656 MB / 1.324 GB, free: 23.95 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000989/1.145, allocations: 0.5786 MB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.74e-05/1.145, allocations: 0 / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001968/1.145, allocations: 24.47 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0003555/1.146, allocations: 116.8 kB / 1.324 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/1.146, allocations: 149.7 kB / 1.324 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002397/1.146, allocations: 212.4 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.146, allocations: 17.7 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 9.877e-05/1.146, allocations: 105.3 kB / 1.325 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01218/1.159, allocations: 1.582 MB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/1.159, allocations: 15.16 kB / 1.326 GB, free: 22.86 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/1.159, allocations: 34.34 kB / 1.326 GB, free: 22.85 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.421e-05/1.159, allocations: 42.47 kB / 1.326 GB, free: 22.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001504/1.159, allocations: 75.16 kB / 1.326 GB, free: 22.78 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005401/1.16, allocations: 201.5 kB / 1.327 GB, free: 22.7 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/1.16, allocations: 0 / 1.327 GB, free: 22.7 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.16, allocations: 1.094 kB / 1.327 GB, free: 22.7 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.251e-05/1.16, allocations: 4 kB / 1.327 GB, free: 22.69 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009517/1.161, allocations: 0.5271 MB / 1.327 GB, free: 22.2 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/1.161, allocations: 12.86 kB / 1.327 GB, free: 22.2 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/1.161, allocations: 22.55 kB / 1.327 GB, free: 22.18 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/1.161, allocations: 234.1 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/1.161, allocations: 13.34 kB / 1.327 GB, free: 21.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/1.161, allocations: 14.12 kB / 1.327 GB, free: 21.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002136/1.161, allocations: 88.48 kB / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.161, allocations: 0 / 1.327 GB, free: 21.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/1.161, allocations: 4.875 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/1.162, allocations: 1.812 kB / 1.327 GB, free: 21.88 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/1.162, allocations: 42.55 kB / 1.328 GB, free: 21.87 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008667/1.162, allocations: 445 kB / 1.328 GB, free: 21.53 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/1.163, allocations: 60.25 kB / 1.328 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.999e-05/1.163, allocations: 28.48 kB / 1.328 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/1.163, allocations: 4.75 kB / 1.328 GB, free: 21.48 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002628/1.163, allocations: 85.25 kB / 1.328 GB, free: 21.41 MB / 1.061 GB Notification: Performance of pre-optimization done (n=12): time 1.633e-06/1.163, allocations: 4.656 kB / 1.328 GB, free: 21.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=12): time 0.0003686/1.163, allocations: 136.2 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/1.163, allocations: 53.81 kB / 1.328 GB, free: 21.28 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/1.164, allocations: 183.9 kB / 1.328 GB, free: 21.15 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.675e-05/1.164, allocations: 36.58 kB / 1.329 GB, free: 21.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/1.164, allocations: 119.9 kB / 1.329 GB, free: 21 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/1.164, allocations: 24.16 kB / 1.329 GB, free: 20.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.164, allocations: 52.53 kB / 1.329 GB, free: 20.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.219e-05/1.164, allocations: 328.4 kB / 1.329 GB, free: 20.64 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.5e-05/1.164, allocations: 26.45 kB / 1.329 GB, free: 20.63 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/1.164, allocations: 113.9 kB / 1.329 GB, free: 20.54 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/1.164, allocations: 90.31 kB / 1.329 GB, free: 20.47 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/1.164, allocations: 1.125 kB / 1.329 GB, free: 20.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002684/1.165, allocations: 135.7 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/1.165, allocations: 5.438 kB / 1.329 GB, free: 20.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/1.165, allocations: 5.688 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.231e-05/1.165, allocations: 2.25 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.328e-05/1.165, allocations: 21.02 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/1.165, allocations: 2.094 kB / 1.329 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002399/1.165, allocations: 24.19 kB / 1.329 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/1.165, allocations: 8.75 kB / 1.329 GB, free: 20.37 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 (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,$whenCondition3,plotConfiguration.activate_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001152/1.165, allocations: 125.2 kB / 1.33 GB, free: 20.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/1.165, allocations: 18.75 kB / 1.33 GB, free: 20.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.195e-05/1.165, allocations: 20.41 kB / 1.33 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/1.165, allocations: 1.312 kB / 1.33 GB, free: 20.22 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.165, allocations: 4.797 kB / 1.33 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/1.165, allocations: 11.81 kB / 1.33 GB, free: 20.21 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005397/1.166, allocations: 431.2 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.166, allocations: 0 / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.571e-05/1.166, allocations: 9.703 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/1.166, allocations: 1.625 kB / 1.33 GB, free: 19.85 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/1.166, allocations: 4.969 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.166, allocations: 0 / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/1.166, allocations: 0.875 kB / 1.33 GB, free: 19.84 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002198/1.166, allocations: 213.2 kB / 1.33 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/1.166, allocations: 88.39 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.765e-05/1.166, allocations: 5 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/1.166, allocations: 7.734 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.908e-05/1.166, allocations: 16.11 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/1.166, allocations: 5.094 kB / 1.33 GB, free: 19.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001164/1.166, allocations: 141.1 kB / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.166, allocations: 0 / 1.33 GB, free: 19.47 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003526/1.167, allocations: 41.08 kB / 1.331 GB, free: 19.46 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004308/1.167, allocations: 168.4 kB / 1.331 GB, free: 19.34 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002451/1.168, allocations: 78.11 kB / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.359e-06/1.168, allocations: 0 / 1.331 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/1.168, allocations: 40.55 kB / 1.331 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/1.168, allocations: 63.69 kB / 1.331 GB, free: 19.28 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006823/1.169, allocations: 299.6 kB / 1.331 GB, free: 19.06 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/1.169, allocations: 0.7125 MB / 1.332 GB, free: 18.37 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.342e-05/1.169, allocations: 20.78 kB / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of SimCode: time 1.082e-06/1.169, allocations: 0 / 1.332 GB, free: 18.36 MB / 1.061 GB Notification: Performance of Templates: time 0.008334/1.177, allocations: 2.921 MB / 1.335 GB, free: 18.04 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.sim & ./Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Validation_PlotterActivationAlwaysOn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Plotters.Validation.PlotterActivationAlwaysOn.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.63549809998949]