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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001095, allocations: 103.2 kB / 16.35 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 190.5 kB / 17.29 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.444/2.444, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 72.02 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2758, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003028/0.2789, allocations: 1.779 MB / 1.028 GB, free: 272 kB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0011/0.28, allocations: 0.6274 MB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.2801, allocations: 4 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.2802, allocations: 23.72 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003549/0.2806, allocations: 127.4 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.281, allocations: 159.6 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002694/0.2813, allocations: 247.4 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.2814, allocations: 37.67 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.2815, allocations: 103.7 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006056/0.2876, allocations: 1.046 MB / 1.031 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.2876, allocations: 20 kB / 1.031 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.2877, allocations: 36 kB / 1.031 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.299e-05/0.2878, allocations: 43.83 kB / 1.031 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.2879, allocations: 103.5 kB / 1.031 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.2883, allocations: 219.3 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.2883, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.784e-06/0.2883, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2883, allocations: 0 / 1.031 GB, free: 13.74 MB / 0.8106 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.0007593/0.2891, allocations: 0.5538 MB / 1.032 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.2891, allocations: 12.03 kB / 1.032 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.2892, allocations: 24.75 kB / 1.032 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.2895, allocations: 244.1 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.2895, allocations: 12.38 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.762e-05/0.2896, allocations: 20.12 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001941/0.2898, allocations: 106.4 kB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.2898, allocations: 0 / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.2898, allocations: 8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.2898, allocations: 0 / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.29, allocations: 63.89 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008266/0.2908, allocations: 492.1 kB / 1.033 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.2911, allocations: 110.6 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.2911, allocations: 40.27 kB / 1.033 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.2912, allocations: 4 kB / 1.033 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.2913, allocations: 109.6 kB / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.903e-06/0.2913, allocations: 0 / 1.033 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003205/0.2917, allocations: 173.4 kB / 1.033 GB, free: 11.62 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2917, allocations: 55.41 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/0.2919, allocations: 211.6 kB / 1.033 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.2919, allocations: 37.7 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.216e-05/0.292, allocations: 124.5 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.23e-05/0.2921, allocations: 39.45 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.509e-05/0.2922, allocations: 57.69 kB / 1.034 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.2923, allocations: 334.8 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000166/0.2924, allocations: 63.95 kB / 1.034 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.2927, allocations: 131.1 kB / 1.034 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.2929, allocations: 217.3 kB / 1.034 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.293, allocations: 3.938 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005514/0.2935, allocations: 328.6 kB / 1.035 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.2936, allocations: 63.39 kB / 1.035 GB, free: 9.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.2936, allocations: 3.938 kB / 1.035 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2936, allocations: 4 kB / 1.035 GB, free: 9.84 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.811e-05/0.2937, allocations: 23.92 kB / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.2937, allocations: 0 / 1.035 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.2939, allocations: 31.98 kB / 1.035 GB, free: 9.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.812e-05/0.2939, allocations: 15.97 kB / 1.035 GB, free: 9.77 MB / 0.8106 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.0001234/0.2941, allocations: 144.1 kB / 1.035 GB, free: 9.621 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.2941, allocations: 23.7 kB / 1.035 GB, free: 9.598 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002392/0.2943, allocations: 150.1 kB / 1.035 GB, free: 9.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.2944, allocations: 4 kB / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2944, allocations: 0 / 1.035 GB, free: 9.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.2944, allocations: 3.938 kB / 1.035 GB, free: 9.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.2949, allocations: 494.1 kB / 1.035 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2949, allocations: 4 kB / 1.036 GB, free: 8.898 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.295, allocations: 4 kB / 1.036 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.295, allocations: 0 / 1.036 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.295, allocations: 8 kB / 1.036 GB, free: 8.887 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.295, allocations: 3.938 kB / 1.036 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.295, allocations: 0 / 1.036 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.2953, allocations: 243.2 kB / 1.036 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.2953, allocations: 104.8 kB / 1.036 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.2954, allocations: 4 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2955, allocations: 11.92 kB / 1.036 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.296e-05/0.2956, allocations: 15.98 kB / 1.036 GB, free: 8.477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/0.2956, allocations: 11.98 kB / 1.036 GB, free: 8.465 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001133/0.2957, allocations: 145.5 kB / 1.036 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2e-07/0.2957, allocations: 4 kB / 1.036 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003032/0.296, allocations: 43.91 kB / 1.036 GB, free: 8.277 MB / 0.8106 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.0003224/0.2963, allocations: 172 kB / 1.036 GB, free: 8.121 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003784/0.2967, allocations: 250.6 kB / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2967, allocations: 0 / 1.036 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.2968, allocations: 58.3 kB / 1.037 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.2973, allocations: 66.8 kB / 1.037 GB, free: 7.734 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.2979, allocations: 311.8 kB / 1.037 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.2981, allocations: 0.7203 MB / 1.038 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.159e-05/0.2982, allocations: 29.92 kB / 1.038 GB, free: 6.633 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.988e-05/0.2982, allocations: 27.42 kB / 1.038 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2982, allocations: 0 / 1.038 GB, free: 6.609 MB / 0.8106 GB Notification: Performance of Templates: time 0.007203/0.3055, allocations: 3.561 MB / 1.041 GB, free: 3.09 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.makefile (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=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches