Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001658/0.001657, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.81/2.81, allocations: 469.8 MB / 0.7424 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 65.08 kB / 0.9086 GB, free: 34.24 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.284, allocations: 159.2 MB / 1.064 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002943/0.287, allocations: 1.785 MB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.2881, allocations: 0.6275 MB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.731e-05/0.2882, allocations: 3.938 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001535/0.2884, allocations: 23.73 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003036/0.2887, allocations: 119.4 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003199/0.289, allocations: 160.8 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2893, allocations: 239.4 kB / 1.067 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2894, allocations: 37.66 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.2895, allocations: 107.7 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007394/0.2969, allocations: 1.046 MB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.297, allocations: 20 kB / 1.068 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.617e-05/0.2971, allocations: 39.98 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.813e-05/0.2972, allocations: 43.83 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.2973, allocations: 95.5 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002983/0.2976, allocations: 211.4 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2976, allocations: 4 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2976, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.2976, allocations: 0 / 1.068 GB, free: 9.938 MB / 0.8262 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.0007471/0.2984, allocations: 0.5565 MB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2984, allocations: 12.02 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.593e-05/0.2985, allocations: 42.75 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.2986, allocations: 20.75 kB / 1.069 GB, free: 9.238 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2989, allocations: 252.1 kB / 1.069 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2989, allocations: 8.375 kB / 1.069 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.2989, allocations: 15.94 kB / 1.069 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.2991, allocations: 109.6 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.2991, allocations: 0 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2992, allocations: 4 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2992, allocations: 7.984 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.2993, allocations: 59.95 kB / 1.07 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.3001, allocations: 488.1 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.3004, allocations: 118.6 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.185e-05/0.3005, allocations: 36.89 kB / 1.07 GB, free: 8.055 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/0.3005, allocations: 4 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001484/0.3006, allocations: 103.3 kB / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.463e-06/0.3006, allocations: 0 / 1.07 GB, free: 7.938 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.0003238/0.301, allocations: 177.3 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.301, allocations: 59.39 kB / 1.07 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.3012, allocations: 207.6 kB / 1.071 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.42e-05/0.3013, allocations: 33.7 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.274e-05/0.3014, allocations: 128.4 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.3014, allocations: 43.53 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.455e-05/0.3015, allocations: 57.67 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3016, allocations: 330.8 kB / 1.071 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.3018, allocations: 59.95 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.302, allocations: 138.5 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3023, allocations: 215.9 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3023, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000571/0.3029, allocations: 324.7 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.562e-05/0.303, allocations: 71.33 kB / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.303, allocations: 0 / 1.072 GB, free: 5.988 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.303, allocations: 4 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.156e-05/0.3031, allocations: 23.92 kB / 1.072 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3031, allocations: 4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.3033, allocations: 27.73 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3033, allocations: 20.14 kB / 1.072 GB, free: 5.91 MB / 0.8262 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.0001316/0.3035, allocations: 144 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3035, allocations: 27.73 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.3038, allocations: 145.6 kB / 1.072 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.3038, allocations: 4 kB / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3038, allocations: 0 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3038, allocations: 48 / 1.072 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.3044, allocations: 0.4903 MB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3044, allocations: 0 / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3044, allocations: 8 kB / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3044, allocations: 0 / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.306e-06/0.3044, allocations: 0 / 1.073 GB, free: 5.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.3045, allocations: 4 kB / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3045, allocations: 0 / 1.073 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002397/0.3047, allocations: 249.3 kB / 1.073 GB, free: 4.77 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.146e-05/0.3048, allocations: 104.8 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.3048, allocations: 0 / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000108/0.3049, allocations: 7.984 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.305, allocations: 15.98 kB / 1.073 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.305, allocations: 11.98 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001221/0.3052, allocations: 141.5 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3052, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002912/0.3055, allocations: 51.91 kB / 1.073 GB, free: 4.426 MB / 0.8262 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.0007509/0.3062, allocations: 0.8421 MB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.3066, allocations: 262.5 kB / 1.075 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3066, allocations: 4 kB / 1.075 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.284e-05/0.3067, allocations: 47.97 kB / 1.075 GB, free: 3.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003939/0.3071, allocations: 63.89 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3098, allocations: 2.252 MB / 1.077 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.3101, allocations: 0.732 MB / 1.078 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.249e-05/0.3102, allocations: 37.84 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.941e-05/0.3103, allocations: 51.5 kB / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of SimCode: time 3.61e-07/0.3103, allocations: 0 / 1.078 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2905/0.6008, allocations: 5.417 MB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.65, allocations: 5.688 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; mkfifo Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe >> ../files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches