Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 115.5 kB / 17.08 MB, free: 5.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001765/0.001765, allocations: 194.2 kB / 20.03 MB, free: 3.059 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 245.7 MB, free: 4.246 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.644/2.644, allocations: 437.1 MB / 0.7177 GB, free: 4.609 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.91 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2977, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003076/0.3008, allocations: 1.77 MB / 1.178 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.3019, allocations: 0.6428 MB / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.302, allocations: 0 / 1.178 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.3022, allocations: 27.72 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3026, allocations: 123.4 kB / 1.178 GB, free: 3.355 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.3029, allocations: 159.2 kB / 1.178 GB, free: 3.203 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003129/0.3033, allocations: 235.5 kB / 1.179 GB, free: 2.973 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3034, allocations: 41.66 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3035, allocations: 111.6 kB / 1.179 GB, free: 2.824 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007852/0.3114, allocations: 1.06 MB / 1.18 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.3115, allocations: 16 kB / 1.18 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3116, allocations: 39.98 kB / 1.18 GB, free: 1.969 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.623e-05/0.3117, allocations: 43.84 kB / 1.18 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3118, allocations: 91.5 kB / 1.18 GB, free: 1.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000363/0.3122, allocations: 219.1 kB / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3122, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3122, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3122, allocations: 0 / 1.18 GB, free: 1.621 MB / 0.92 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.0008263/0.313, allocations: 0.568 MB / 1.181 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.3131, allocations: 8.031 kB / 1.181 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.282e-05/0.3132, allocations: 24.8 kB / 1.181 GB, free: 0.9609 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3135, allocations: 248.2 kB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.3136, allocations: 12.38 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.3136, allocations: 24.11 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002085/0.3138, allocations: 105.6 kB / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3138, allocations: 0 / 1.181 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3139, allocations: 8 kB / 1.181 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.3139, allocations: 4 kB / 1.181 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.314, allocations: 55.97 kB / 1.181 GB, free: 480 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008909/0.3149, allocations: 484.3 kB / 1.182 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.3152, allocations: 114.7 kB / 1.182 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.3153, allocations: 36.84 kB / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.3153, allocations: 0 / 1.182 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.3155, allocations: 107.3 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 3.386e-06/0.3155, allocations: 3.984 kB / 1.182 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0004035/0.3159, allocations: 185.3 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.316, allocations: 55.41 kB / 1.182 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.3162, allocations: 207.8 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3162, allocations: 29.7 kB / 1.182 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.3163, allocations: 128.5 kB / 1.183 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.146e-05/0.3164, allocations: 43.62 kB / 1.183 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.3165, allocations: 65.81 kB / 1.183 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3166, allocations: 330.8 kB / 1.183 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001735/0.3168, allocations: 67.81 kB / 1.183 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.3171, allocations: 130.5 kB / 1.183 GB, free: 14.37 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.3174, allocations: 221.3 kB / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-06/0.3174, allocations: 0 / 1.183 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006115/0.318, allocations: 324.7 kB / 1.184 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.786e-05/0.3181, allocations: 63.39 kB / 1.184 GB, free: 13.71 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3181, allocations: 8.094 kB / 1.184 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.3181, allocations: 8 kB / 1.184 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.3182, allocations: 19.92 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.271e-05/0.3183, allocations: 4 kB / 1.184 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001916/0.3184, allocations: 19.94 kB / 1.184 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.613e-05/0.3185, allocations: 12 kB / 1.184 GB, free: 13.64 MB / 0.9356 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.0001368/0.3186, allocations: 148 kB / 1.184 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3187, allocations: 15.91 kB / 1.184 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002547/0.3189, allocations: 154 kB / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3189, allocations: 0 / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3189, allocations: 3.984 kB / 1.184 GB, free: 13.31 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.319, allocations: 4 kB / 1.184 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.3196, allocations: 490.1 kB / 1.185 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3196, allocations: 0 / 1.185 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.621e-05/0.3197, allocations: 15.92 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3197, allocations: 4 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.3197, allocations: 4 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3197, allocations: 4 kB / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3197, allocations: 0 / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002609/0.32, allocations: 231.4 kB / 1.185 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.92e-05/0.3201, allocations: 104.9 kB / 1.185 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.738e-05/0.3201, allocations: 7.984 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3202, allocations: 8 kB / 1.185 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.3203, allocations: 15.97 kB / 1.185 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.3203, allocations: 15.94 kB / 1.185 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001377/0.3205, allocations: 148.2 kB / 1.185 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3205, allocations: 3.938 kB / 1.185 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003098/0.3208, allocations: 51.88 kB / 1.185 GB, free: 12.13 MB / 0.9356 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.0003696/0.3212, allocations: 168.6 kB / 1.185 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000432/0.3216, allocations: 250.5 kB / 1.186 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3216, allocations: 0 / 1.186 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.656e-05/0.3217, allocations: 52.28 kB / 1.186 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004194/0.3222, allocations: 70.48 kB / 1.186 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006563/0.3228, allocations: 352.6 kB / 1.186 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3232, allocations: 0.7281 MB / 1.187 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.3233, allocations: 31.42 kB / 1.187 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3233, allocations: 0 / 1.187 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of Templates: time 0.005793/0.3291, allocations: 3.295 MB / 1.19 GB, free: 7.156 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.415698322001845]