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.002024/0.002024, allocations: 118.4 kB / 17.13 MB, free: 5.918 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.002195/0.002195, allocations: 193.2 kB / 20.08 MB, free: 2.988 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.452/1.452, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.656/2.656, allocations: 443.5 MB / 0.7293 GB, free: 14.47 MB / 0.5762 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.001903/0.001903, allocations: 63.89 kB / 1.057 GB, free: 1.93 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 160.7 MB / 1.214 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003116/0.2993, allocations: 1.783 MB / 1.216 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.3005, allocations: 0.6436 MB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.3006, allocations: 4 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.3008, allocations: 27.67 kB / 1.216 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003672/0.3011, allocations: 127.4 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003688/0.3015, allocations: 163.6 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003133/0.3018, allocations: 239.4 kB / 1.217 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3019, allocations: 25.67 kB / 1.217 GB, free: 13.87 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3021, allocations: 115.6 kB / 1.217 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007808/0.3099, allocations: 1.036 MB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 5.639e-05/0.3099, allocations: 19.98 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3101, allocations: 39.98 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.3101, allocations: 47.78 kB / 1.218 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.3103, allocations: 91.5 kB / 1.218 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003767/0.3106, allocations: 223.1 kB / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3106, allocations: 0 / 1.218 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3106, allocations: 4 kB / 1.218 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3106, allocations: 0 / 1.218 GB, free: 12.55 MB / 0.9669 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.0008941/0.3115, allocations: 0.5642 MB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3116, allocations: 8.031 kB / 1.219 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.364e-05/0.3117, allocations: 24.8 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003706/0.312, allocations: 248.2 kB / 1.219 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.3121, allocations: 12.36 kB / 1.219 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.651e-05/0.3121, allocations: 24.12 kB / 1.219 GB, free: 11.58 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.3123, allocations: 105.6 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.3123, allocations: 0 / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.3123, allocations: 4 kB / 1.219 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3124, allocations: 8 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.3125, allocations: 55.91 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000955/0.3134, allocations: 488.4 kB / 1.22 GB, free: 10.88 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002828/0.3137, allocations: 110.4 kB / 1.22 GB, free: 10.77 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.3138, allocations: 28.89 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.3138, allocations: 8 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.314, allocations: 106.3 kB / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.432e-06/0.314, allocations: 0 / 1.22 GB, free: 10.61 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.000363/0.3143, allocations: 181.3 kB / 1.22 GB, free: 10.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.3144, allocations: 55.41 kB / 1.22 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.3146, allocations: 207.8 kB / 1.221 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.525e-05/0.3146, allocations: 33.7 kB / 1.221 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3147, allocations: 120.5 kB / 1.221 GB, free: 9.988 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.3148, allocations: 51.67 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/0.3149, allocations: 53.89 kB / 1.221 GB, free: 9.879 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.315, allocations: 334.8 kB / 1.221 GB, free: 9.543 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.3152, allocations: 63.81 kB / 1.221 GB, free: 9.48 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.3155, allocations: 133 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3158, allocations: 221.3 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3158, allocations: 0 / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000616/0.3164, allocations: 328.7 kB / 1.222 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.069e-05/0.3165, allocations: 67.33 kB / 1.222 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.3165, allocations: 7.938 kB / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3165, allocations: 0 / 1.222 GB, free: 8.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.687e-05/0.3166, allocations: 19.98 kB / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3166, allocations: 0 / 1.222 GB, free: 8.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.3168, allocations: 27.88 kB / 1.222 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/0.3168, allocations: 19.97 kB / 1.222 GB, free: 8.582 MB / 0.9669 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.0001422/0.3169, allocations: 144.2 kB / 1.222 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.317, allocations: 15.91 kB / 1.222 GB, free: 8.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002568/0.3172, allocations: 159.4 kB / 1.222 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3172, allocations: 0 / 1.222 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3172, allocations: 0 / 1.222 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3172, allocations: 0 / 1.222 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006293/0.3179, allocations: 496.8 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3179, allocations: 0 / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.3179, allocations: 15.98 kB / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3179, allocations: 0 / 1.223 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3179, allocations: 4 kB / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3179, allocations: 0 / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3179, allocations: 0 / 1.223 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.3182, allocations: 235.3 kB / 1.223 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-05/0.3183, allocations: 112.9 kB / 1.223 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.3183, allocations: 4 kB / 1.223 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.3184, allocations: 15.98 kB / 1.223 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.3185, allocations: 15.98 kB / 1.223 GB, free: 7.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3185, allocations: 8 kB / 1.223 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001319/0.3186, allocations: 148.2 kB / 1.223 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3186, allocations: 0 / 1.223 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003309/0.319, allocations: 43.95 kB / 1.223 GB, free: 7.09 MB / 0.9669 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.0003754/0.3193, allocations: 176 kB / 1.224 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004335/0.3198, allocations: 250.6 kB / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3198, allocations: 0 / 1.224 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.3199, allocations: 50.31 kB / 1.224 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004184/0.3203, allocations: 61.73 kB / 1.224 GB, free: 6.562 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006802/0.321, allocations: 352.7 kB / 1.224 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.3213, allocations: 0.7284 MB / 1.225 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.638e-05/0.3214, allocations: 27.42 kB / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of SimCode: time 3.41e-07/0.3214, allocations: 0 / 1.225 GB, free: 5.402 MB / 0.9669 GB Notification: Performance of Templates: time 0.005886/0.3273, allocations: 3.279 MB / 1.228 GB, free: 2.133 MB / 0.9669 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.646980623947456]