Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008045/0.0008045, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007931/0.0007931, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8936/0.8936, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.9822 GB, free: 2.133 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.433e-05, allocations: 2.281 kB / 0.9822 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002394/0.002418, allocations: 1.78 MB / 0.9839 GB, free: 340 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008688/0.003287, allocations: 0.6118 MB / 0.9845 GB, free: 15.72 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.121e-05/0.003358, allocations: 3.938 kB / 0.9845 GB, free: 15.71 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.003535, allocations: 35.61 kB / 0.9845 GB, free: 15.68 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.00384, allocations: 127.4 kB / 0.9847 GB, free: 15.55 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.004096, allocations: 155.6 kB / 0.9848 GB, free: 15.4 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.004319, allocations: 251.3 kB / 0.985 GB, free: 15.16 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.004444, allocations: 29.78 kB / 0.9851 GB, free: 15.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.004569, allocations: 139.7 kB / 0.9852 GB, free: 14.99 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.00757, allocations: 1.035 MB / 0.9862 GB, free: 14.21 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 3.553e-05/0.007605, allocations: 16 kB / 0.9862 GB, free: 14.2 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.007679, allocations: 39.92 kB / 0.9863 GB, free: 14.16 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 6.35e-05/0.007743, allocations: 51.77 kB / 0.9863 GB, free: 14.11 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.007815, allocations: 67.8 kB / 0.9864 GB, free: 14.04 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002889/0.008103, allocations: 239.3 kB / 0.9866 GB, free: 13.81 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.008106, allocations: 0 / 0.9866 GB, free: 13.81 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.032e-06/0.008107, allocations: 0 / 0.9866 GB, free: 13.81 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.047e-06/0.008111, allocations: 0 / 0.9866 GB, free: 13.81 MB / 0.948 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.0005824/0.008693, allocations: 0.4888 MB / 0.9871 GB, free: 13.28 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.00873, allocations: 8.031 kB / 0.9871 GB, free: 13.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.008785, allocations: 24.8 kB / 0.9871 GB, free: 13.25 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.009011, allocations: 197.3 kB / 0.9873 GB, free: 13.03 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.009026, allocations: 12.38 kB / 0.9873 GB, free: 13.02 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.009055, allocations: 16.38 kB / 0.9873 GB, free: 13 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.009203, allocations: 102.2 kB / 0.9874 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.218e-06/0.009212, allocations: 3.938 kB / 0.9874 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.009224, allocations: 3.984 kB / 0.9874 GB, free: 12.89 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.009229, allocations: 12 kB / 0.9874 GB, free: 12.88 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.25e-05/0.009322, allocations: 73.58 kB / 0.9875 GB, free: 12.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005623/0.009884, allocations: 380.2 kB / 0.9879 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.01009, allocations: 106.6 kB / 0.988 GB, free: 12.29 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.997e-05/0.01013, allocations: 32.89 kB / 0.988 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.01015, allocations: 0 / 0.988 GB, free: 12.25 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.01026, allocations: 111.3 kB / 0.9881 GB, free: 12.13 MB / 0.948 GB Notification: Performance of pre-optimization done (n=16): time 1.152e-06/0.01026, allocations: 0 / 0.9881 GB, free: 12.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=16): time 0.0002579/0.01052, allocations: 175.5 kB / 0.9883 GB, free: 11.96 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.244e-05/0.01055, allocations: 55.41 kB / 0.9883 GB, free: 11.89 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.0107, allocations: 215.7 kB / 0.9885 GB, free: 11.67 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.01072, allocations: 33.7 kB / 0.9886 GB, free: 11.63 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.01079, allocations: 124.6 kB / 0.9887 GB, free: 11.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.01082, allocations: 35.7 kB / 0.9887 GB, free: 11.47 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-05/0.01089, allocations: 65.66 kB / 0.9888 GB, free: 11.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.395e-05/0.01097, allocations: 330.8 kB / 0.9891 GB, free: 11.07 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.0111, allocations: 127.3 kB / 0.9892 GB, free: 10.93 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/0.01127, allocations: 246.4 kB / 0.9895 GB, free: 10.64 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001793/0.01145, allocations: 213.2 kB / 0.9897 GB, free: 10.39 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.01145, allocations: 0 / 0.9897 GB, free: 10.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003755/0.01183, allocations: 403.5 kB / 0.9901 GB, free: 9.973 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.024e-05/0.01188, allocations: 71.33 kB / 0.9901 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.01188, allocations: 0 / 0.9901 GB, free: 9.891 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.0119, allocations: 4 kB / 0.9901 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.01195, allocations: 19.98 kB / 0.9901 GB, free: 9.867 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.01196, allocations: 4 kB / 0.9901 GB, free: 9.863 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.231e-05/0.01205, allocations: 31.75 kB / 0.9902 GB, free: 9.832 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.01206, allocations: 12 kB / 0.9902 GB, free: 9.82 MB / 0.948 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 8.885e-05/0.01215, allocations: 139.8 kB / 0.9903 GB, free: 9.676 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.01217, allocations: 15.94 kB / 0.9903 GB, free: 9.66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.01233, allocations: 151.3 kB / 0.9905 GB, free: 9.508 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.01233, allocations: 4 kB / 0.9905 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.01234, allocations: 0 / 0.9905 GB, free: 9.504 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.01234, allocations: 7.922 kB / 0.9905 GB, free: 9.496 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.01269, allocations: 409.9 kB / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.01269, allocations: 0 / 0.9909 GB, free: 9.059 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.01271, allocations: 11.98 kB / 0.9909 GB, free: 9.047 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01272, allocations: 4.031 kB / 0.9909 GB, free: 9.043 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.01273, allocations: 7.938 kB / 0.9909 GB, free: 9.035 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.01273, allocations: 8 kB / 0.9909 GB, free: 9.027 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.01273, allocations: 0 / 0.9909 GB, free: 9.027 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.01289, allocations: 241.8 kB / 0.9911 GB, free: 8.777 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.01293, allocations: 31.81 kB / 0.9912 GB, free: 8.746 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.01295, allocations: 7.938 kB / 0.9912 GB, free: 8.738 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.013, allocations: 15.98 kB / 0.9912 GB, free: 8.723 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.86e-05/0.01305, allocations: 11.98 kB / 0.9912 GB, free: 8.711 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.01307, allocations: 11.98 kB / 0.9912 GB, free: 8.699 MB / 0.948 GB Notification: Performance of sorting global known variables: time 8.133e-05/0.01315, allocations: 145.5 kB / 0.9914 GB, free: 8.559 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.01315, allocations: 0 / 0.9914 GB, free: 8.559 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002001/0.01335, allocations: 43.95 kB / 0.9914 GB, free: 8.516 MB / 0.948 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.0002482/0.0136, allocations: 175.8 kB / 0.9916 GB, free: 8.355 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002827/0.01388, allocations: 311.5 kB / 0.9919 GB, free: 8.02 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01388, allocations: 0 / 0.9919 GB, free: 8.02 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.01394, allocations: 51.92 kB / 0.9919 GB, free: 7.969 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.01422, allocations: 58.86 kB / 0.992 GB, free: 7.914 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.01469, allocations: 344.5 kB / 0.9923 GB, free: 7.547 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.365e-05/0.01477, allocations: 116.2 kB / 0.9924 GB, free: 7.41 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.97e-05/0.01481, allocations: 20.5 kB / 0.9924 GB, free: 7.391 MB / 0.948 GB Notification: Performance of SimCode: time 3.81e-07/0.01481, allocations: 4 kB / 0.9924 GB, free: 7.387 MB / 0.948 GB Notification: Performance of Templates: time 0.004491/0.0193, allocations: 3.352 MB / 0.9957 GB, free: 4.051 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.886273205280304]