Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.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.001421/0.001421, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001528/0.001528, allocations: 165.7 kB / 23.55 MB, free: 0.8867 MB / 18.57 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.449/1.449, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.686/2.686, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") translateModel(Buildings.Utilities.Plotters.Examples.TimeSeries,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timSer.y.1.|timSer.y.2.|timSer.y.3.|timSer1.y.1.|timSer1.y.2.",fileNamePrefix="Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0.6562 kB / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.619e-05/2.744e-05, allocations: 6.25 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003391/0.003418, allocations: 1.781 MB / 0.7881 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001412/0.00483, allocations: 0.6107 MB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.259e-05/0.004903, allocations: 3.938 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001929/0.005095, allocations: 32.7 kB / 0.7887 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.00551, allocations: 127.3 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004209/0.005931, allocations: 160.9 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000358/0.006289, allocations: 247.3 kB / 0.7892 GB, free: 9.906 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.006418, allocations: 27.22 kB / 0.7892 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.006641, allocations: 143.7 kB / 0.7894 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009762/0.0164, allocations: 1.626 MB / 0.791 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.702e-05/0.01646, allocations: 17.28 kB / 0.791 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-05/0.01656, allocations: 39.92 kB / 0.791 GB, free: 8.711 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.781e-05/0.01664, allocations: 43.83 kB / 0.7911 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001187/0.01676, allocations: 67.75 kB / 0.7911 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004296/0.01718, allocations: 246.2 kB / 0.7914 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.544e-06/0.01719, allocations: 0 / 0.7914 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01719, allocations: 4 kB / 0.7914 GB, free: 8.359 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.0172, allocations: 0 / 0.7914 GB, free: 8.359 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009348/0.01813, allocations: 488.7 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.01817, allocations: 8.75 kB / 0.7918 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.01829, allocations: 36.73 kB / 0.7919 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003753/0.01867, allocations: 197.1 kB / 0.7921 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.01869, allocations: 12.38 kB / 0.7921 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.309e-05/0.01873, allocations: 16.38 kB / 0.7921 GB, free: 7.555 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.01896, allocations: 106.2 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.01897, allocations: 5.125 kB / 0.7922 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.01899, allocations: 0 / 0.7922 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.019, allocations: 8 kB / 0.7922 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.01913, allocations: 51.97 kB / 0.7923 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00091/0.02004, allocations: 407.2 kB / 0.7926 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003202/0.02036, allocations: 102.7 kB / 0.7927 GB, free: 6.848 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.02043, allocations: 28.84 kB / 0.7928 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.02045, allocations: 8.891 kB / 0.7928 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001896/0.02064, allocations: 107.3 kB / 0.7929 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.322e-06/0.02065, allocations: 0.5312 kB / 0.7929 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004029/0.02105, allocations: 181.5 kB / 0.7931 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.02111, allocations: 55.41 kB / 0.7931 GB, free: 6.445 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.02138, allocations: 216.2 kB / 0.7933 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.02143, allocations: 33.7 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.02155, allocations: 125.9 kB / 0.7935 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/0.0216, allocations: 39.69 kB / 0.7935 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001186/0.02172, allocations: 61.67 kB / 0.7936 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001838/0.0219, allocations: 331.3 kB / 0.7939 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002544/0.02216, allocations: 128.7 kB / 0.794 GB, free: 5.484 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000347/0.0225, allocations: 238.4 kB / 0.7942 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.02286, allocations: 219.2 kB / 0.7944 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.02287, allocations: 1.125 kB / 0.7944 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007779/0.02364, allocations: 406.9 kB / 0.7948 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.915e-05/0.02374, allocations: 63.39 kB / 0.7949 GB, free: 4.453 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.02375, allocations: 4 kB / 0.7949 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.02377, allocations: 7.938 kB / 0.7949 GB, free: 4.441 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.02386, allocations: 16.94 kB / 0.7949 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.02387, allocations: 11.92 kB / 0.7949 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.02409, allocations: 21.17 kB / 0.7949 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.02413, allocations: 19.98 kB / 0.795 GB, free: 4.375 MB / 0.7448 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 (timSer1.timeConverted,$PRE.timSer1.timeConverted,timSer.timeConverted,$PRE.timSer.timeConverted,timSer1.sampleTrigger,timSer1.tActivateLast,$PRE.timSer1.tActivateLast,timSer1.active,timSer.sampleTrigger,timSer.tActivateLast,$PRE.timSer.tActivateLast,timSer.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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 2 * 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.0001563/0.02428, allocations: 139.8 kB / 0.7951 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.02433, allocations: 24.73 kB / 0.7951 GB, free: 4.207 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002824/0.02461, allocations: 147.3 kB / 0.7953 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.02461, allocations: 2.062 kB / 0.7953 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02462, allocations: 0 / 0.7953 GB, free: 4.059 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.02463, allocations: 11.92 kB / 0.7953 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.02529, allocations: 410 kB / 0.7957 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.02529, allocations: 0 / 0.7957 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.648e-05/0.02533, allocations: 12.64 kB / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.02534, allocations: 3.438 kB / 0.7957 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.02535, allocations: 3.938 kB / 0.7957 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.02535, allocations: 0 / 0.7957 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02535, allocations: 0 / 0.7957 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.02566, allocations: 251.2 kB / 0.7959 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-05/0.02573, allocations: 35.77 kB / 0.796 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.02576, allocations: 3.938 kB / 0.796 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.02588, allocations: 15.98 kB / 0.796 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.02596, allocations: 11.98 kB / 0.796 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.02599, allocations: 12.56 kB / 0.796 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001537/0.02614, allocations: 145.5 kB / 0.7961 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.02614, allocations: 0.5625 kB / 0.7961 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003339/0.02647, allocations: 49.56 kB / 0.7962 GB, free: 3.066 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 (timSer1.sampleTrigger,timSer.sampleTrigger,plotConfiguration.active,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,timSer.active,timSer.tActivateLast,timSer.timeConverted,timSer1.active,timSer1.tActivateLast,timSer1.timeConverted) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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/0.0269, allocations: 169.8 kB / 0.7963 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005037/0.02741, allocations: 311.9 kB / 0.7966 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.02741, allocations: 6.875 kB / 0.7967 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.751e-05/0.02751, allocations: 43.92 kB / 0.7967 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004679/0.02798, allocations: 69.66 kB / 0.7968 GB, free: 2.473 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007146/0.02869, allocations: 331.3 kB / 0.7971 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.02883, allocations: 118.3 kB / 0.7972 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.324e-05/0.02893, allocations: 35.06 kB / 0.7972 GB, free: 1.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.534e-05/0.02899, allocations: 24.5 kB / 0.7972 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of SimCode: time 3.01e-07/0.02899, allocations: 0 / 0.7972 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of Templates: time 0.009289/0.03828, allocations: 3.831 MB / 0.801 GB, free: 14.18 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.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: 7.59366994490847]