Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001521/0.001521, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001891/0.001891, allocations: 157.6 kB / 22.75 MB, free: 1.684 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.467/1.467, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.32/3.32, allocations: 429.6 MB / 0.673 GB, free: 3.887 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Plotters.Examples.TimeSeries") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 0.8775 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.102e-05/3.304e-05, allocations: 6.25 kB / 0.8776 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003732/0.003765, allocations: 1.773 MB / 0.8793 GB, free: 4.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.005277, allocations: 0.6139 MB / 0.8799 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001262/0.005403, allocations: 7.938 kB / 0.8799 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.005635, allocations: 32.66 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005342/0.006169, allocations: 119.4 kB / 0.88 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004703/0.006639, allocations: 168.1 kB / 0.8802 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.007062, allocations: 245.2 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.007216, allocations: 29.78 kB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002833/0.007499, allocations: 139.8 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01015/0.01765, allocations: 1.637 MB / 0.8822 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 9.748e-05/0.01774, allocations: 23.94 kB / 0.8822 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.0179, allocations: 35.94 kB / 0.8822 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.238e-05/0.01799, allocations: 43.83 kB / 0.8823 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.01813, allocations: 65.94 kB / 0.8824 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005414/0.01867, allocations: 243.2 kB / 0.8826 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.01868, allocations: 0 / 0.8826 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.373e-06/0.01868, allocations: 0 / 0.8826 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.377e-06/0.01869, allocations: 0 / 0.8826 GB, free: 2.004 MB / 0.8386 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.0009777/0.01967, allocations: 0.4904 MB / 0.8831 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.01971, allocations: 8.031 kB / 0.8831 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.01984, allocations: 30.98 kB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.02023, allocations: 193.6 kB / 0.8833 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.02025, allocations: 8.375 kB / 0.8833 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.492e-05/0.02029, allocations: 16.38 kB / 0.8833 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002502/0.02054, allocations: 114 kB / 0.8834 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.02056, allocations: 3.938 kB / 0.8834 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.02058, allocations: 6.344 kB / 0.8834 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.02058, allocations: 4 kB / 0.8834 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.02073, allocations: 59.95 kB / 0.8835 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.02178, allocations: 392.8 kB / 0.8839 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003233/0.0221, allocations: 104.3 kB / 0.884 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.02218, allocations: 40.78 kB / 0.884 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.02221, allocations: 0 / 0.884 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.02241, allocations: 104.6 kB / 0.8841 GB, free: 340 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=16): time 1.893e-06/0.02241, allocations: 0 / 0.8841 GB, free: 340 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16): time 0.0004584/0.02287, allocations: 177.5 kB / 0.8843 GB, free: 156 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.02293, allocations: 59.34 kB / 0.8843 GB, free: 84 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002829/0.02321, allocations: 211.7 kB / 0.8845 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.02326, allocations: 37.7 kB / 0.8846 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.02339, allocations: 128.5 kB / 0.8847 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.02344, allocations: 35.7 kB / 0.8847 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.02357, allocations: 65.66 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.02376, allocations: 330.8 kB / 0.8851 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002561/0.02402, allocations: 127.3 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003662/0.02439, allocations: 250.3 kB / 0.8855 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003797/0.02477, allocations: 216.1 kB / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.02477, allocations: 0 / 0.8857 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000795/0.02556, allocations: 408.1 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-05/0.02565, allocations: 67.39 kB / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.02566, allocations: 0 / 0.8861 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.02568, allocations: 4 kB / 0.8861 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.592e-05/0.02578, allocations: 16.09 kB / 0.8861 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.02579, allocations: 11.98 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.02601, allocations: 31.78 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.02604, allocations: 11.98 kB / 0.8862 GB, free: 13.99 MB / 0.8542 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.0001658/0.0262, allocations: 143.8 kB / 0.8863 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.001e-05/0.02625, allocations: 23.91 kB / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.02654, allocations: 149.9 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.02655, allocations: 4 kB / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.076e-05/0.02657, allocations: 0 / 0.8865 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.02658, allocations: 7.922 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007127/0.02729, allocations: 406 kB / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0273, allocations: 0 / 0.8869 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.551e-05/0.02734, allocations: 15.92 kB / 0.8869 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.02735, allocations: 0 / 0.8869 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.02736, allocations: 7.938 kB / 0.8869 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.02737, allocations: 4 kB / 0.8869 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.02737, allocations: 0 / 0.8869 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.02771, allocations: 243.3 kB / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.577e-05/0.02777, allocations: 27.81 kB / 0.8872 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.416e-05/0.02781, allocations: 7.938 kB / 0.8872 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.02793, allocations: 15.98 kB / 0.8872 GB, free: 12.89 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/0.02801, allocations: 15.92 kB / 0.8872 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-05/0.02804, allocations: 11.98 kB / 0.8872 GB, free: 12.87 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001716/0.02821, allocations: 149.5 kB / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.02821, allocations: 0 / 0.8874 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000362/0.02857, allocations: 43.95 kB / 0.8874 GB, free: 12.68 MB / 0.8542 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.0004972/0.02907, allocations: 178.7 kB / 0.8876 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005746/0.02964, allocations: 310.2 kB / 0.8879 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02965, allocations: 4.062 kB / 0.8879 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.02975, allocations: 43.98 kB / 0.8879 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004781/0.03022, allocations: 71.73 kB / 0.888 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007661/0.03099, allocations: 324.5 kB / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001405/0.03113, allocations: 120.2 kB / 0.8884 GB, free: 11.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.739e-05/0.03123, allocations: 25.94 kB / 0.8884 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.531e-05/0.03129, allocations: 20.5 kB / 0.8885 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of SimCode: time 5.51e-07/0.03129, allocations: 0 / 0.8885 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.03033/0.06162, allocations: 3.844 MB / 0.8922 GB, free: 7.766 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & ./Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.30735061794985]