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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_10_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.000913/0.0009129, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.00532/0.00532, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.328/1.328, allocations: 223.3 MB / 240.3 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.513/2.513, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6511/0.6515, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002688/0.6543, allocations: 1.583 MB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001519/0.6558, allocations: 0.6664 MB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.656, allocations: 3.938 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.6562, allocations: 23.84 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.6567, allocations: 87.67 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000466/0.6572, allocations: 155.7 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000345/0.6575, allocations: 231.4 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.6577, allocations: 29.67 kB / 1.026 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.6579, allocations: 99.61 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03822/0.6961, allocations: 2.636 MB / 1.028 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.996e-05/0.6962, allocations: 12 kB / 1.029 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.6964, allocations: 27.98 kB / 1.029 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.608e-05/0.6964, allocations: 39.78 kB / 1.029 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.6966, allocations: 109.2 kB / 1.029 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.6969, allocations: 207.2 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6969, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.647e-06/0.6969, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.6969, allocations: 7.938 kB / 1.029 GB, free: 10.53 MB / 0.7794 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.000775/0.6977, allocations: 0.5099 MB / 1.029 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.6977, allocations: 8.031 kB / 1.029 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.6978, allocations: 42.73 kB / 1.029 GB, free: 9.902 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.6979, allocations: 20.75 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000312/0.6982, allocations: 256 kB / 1.03 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.6982, allocations: 8.375 kB / 1.03 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.6983, allocations: 27.91 kB / 1.03 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002036/0.6985, allocations: 105.6 kB / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6985, allocations: 0 / 1.03 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.6985, allocations: 4 kB / 1.03 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.6985, allocations: 4 kB / 1.03 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.6986, allocations: 62.34 kB / 1.03 GB, free: 9.383 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008309/0.6995, allocations: 0.4923 MB / 1.03 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004019/0.6999, allocations: 110.7 kB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.7, allocations: 32.84 kB / 1.031 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.7, allocations: 4 kB / 1.031 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001441/0.7001, allocations: 107.4 kB / 1.031 GB, free: 8.566 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=16): time 1.362e-06/0.7001, allocations: 4 kB / 1.031 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16): time 0.0003077/0.7005, allocations: 184.7 kB / 1.031 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.7005, allocations: 59.39 kB / 1.031 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.7007, allocations: 199.8 kB / 1.031 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.7007, allocations: 33.7 kB / 1.031 GB, free: 8.059 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.7008, allocations: 132.3 kB / 1.031 GB, free: 7.926 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.7009, allocations: 31.56 kB / 1.031 GB, free: 7.895 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.7009, allocations: 29.7 kB / 1.031 GB, free: 7.859 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.701, allocations: 338.8 kB / 1.032 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.7012, allocations: 59.95 kB / 1.032 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.7014, allocations: 135.6 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.7017, allocations: 212.3 kB / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.7017, allocations: 0 / 1.032 GB, free: 7.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005367/0.7022, allocations: 332.5 kB / 1.032 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.472e-05/0.7023, allocations: 67.48 kB / 1.032 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.7023, allocations: 11.94 kB / 1.032 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.7023, allocations: 3.938 kB / 1.032 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.145e-05/0.7024, allocations: 23.98 kB / 1.032 GB, free: 6.602 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.7024, allocations: 4 kB / 1.032 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.7026, allocations: 27.77 kB / 1.032 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.483e-05/0.7027, allocations: 12 kB / 1.032 GB, free: 6.559 MB / 0.7794 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.0001306/0.7028, allocations: 145.9 kB / 1.033 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.7028, allocations: 27.78 kB / 1.033 GB, free: 6.383 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.7031, allocations: 151.4 kB / 1.033 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.7031, allocations: 4 kB / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.7031, allocations: 0 / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.7031, allocations: 0 / 1.033 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000577/0.7037, allocations: 498.2 kB / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7037, allocations: 0 / 1.033 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.7037, allocations: 7.984 kB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.7038, allocations: 4 kB / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.7038, allocations: 0 / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7038, allocations: 0 / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.7038, allocations: 0 / 1.033 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002238/0.704, allocations: 247 kB / 1.033 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.405e-05/0.7041, allocations: 108.9 kB / 1.034 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.202e-05/0.7041, allocations: 4 kB / 1.034 GB, free: 5.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.7042, allocations: 11.98 kB / 1.034 GB, free: 5.277 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.81e-05/0.7043, allocations: 11.98 kB / 1.034 GB, free: 5.266 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.7043, allocations: 11.98 kB / 1.034 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000112/0.7044, allocations: 144.2 kB / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7044, allocations: 0 / 1.034 GB, free: 5.113 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002914/0.7047, allocations: 44 kB / 1.034 GB, free: 5.07 MB / 0.7794 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.0006745/0.7054, allocations: 0.8567 MB / 1.035 GB, free: 4.211 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003554/0.7058, allocations: 246.7 kB / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.7058, allocations: 0 / 1.035 GB, free: 3.945 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.314e-05/0.7059, allocations: 55.91 kB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.7063, allocations: 56.27 kB / 1.035 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002556/0.7089, allocations: 2.3 MB / 1.037 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002578/0.7092, allocations: 0.7284 MB / 1.038 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.068e-05/0.7092, allocations: 25.94 kB / 1.038 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.7093, allocations: 59.41 kB / 1.038 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7093, allocations: 0 / 1.038 GB, free: 0.5703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.009/2.718, allocations: 4.99 MB / 1.043 GB, free: 11.73 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/2.719, allocations: 249.5 kB / 1.043 GB, free: 11.47 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/4.86, allocations: 3.938 kB / 1.043 GB, free: 11.46 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches