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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Examples.TimeSeries,fileNamePrefix="Buildings_latest_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.001089/0.001089, 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.001317/0.001317, allocations: 193.8 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.683/2.683, allocations: 461.9 MB / 0.7346 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 76.11 kB / 0.8992 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2981, allocations: 157.4 MB / 1.053 GB, free: 8.32 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003607/0.3017, allocations: 1.793 MB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3031, allocations: 0.6278 MB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001353/0.3032, allocations: 0 / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.3035, allocations: 35.7 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0004145/0.3039, allocations: 119.4 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.3043, allocations: 162.8 kB / 1.056 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003144/0.3047, allocations: 235.4 kB / 1.056 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3048, allocations: 37.66 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.305, allocations: 107.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00595/0.3109, allocations: 1.048 MB / 1.057 GB, free: 4.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.892e-05/0.311, allocations: 16 kB / 1.057 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001102/0.3111, allocations: 36 kB / 1.057 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.164e-05/0.3112, allocations: 47.81 kB / 1.057 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3113, allocations: 95.45 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.3116, allocations: 211.4 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.3117, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3117, allocations: 0 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.094e-05/0.3117, allocations: 0 / 1.057 GB, free: 4.012 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.0007814/0.3125, allocations: 0.5604 MB / 1.058 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.3125, allocations: 12.61 kB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3126, allocations: 42.75 kB / 1.058 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.3126, allocations: 20.75 kB / 1.058 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.313, allocations: 252.1 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.313, allocations: 8.375 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.3131, allocations: 23.88 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.3133, allocations: 109.6 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.3133, allocations: 3.938 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3133, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3133, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3135, allocations: 62.8 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008719/0.3143, allocations: 492.1 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.3146, allocations: 102.7 kB / 1.059 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.3147, allocations: 36.89 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3147, allocations: 4 kB / 1.059 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.3149, allocations: 111.2 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3149, allocations: 0 / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of matching and sorting (n=16): time 0.0003289/0.3152, allocations: 176.2 kB / 1.059 GB, free: 1.828 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.3153, allocations: 55.41 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.3154, allocations: 207.6 kB / 1.06 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.3155, allocations: 37.7 kB / 1.06 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.3156, allocations: 128.5 kB / 1.06 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.3156, allocations: 39.45 kB / 1.06 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.3157, allocations: 61.67 kB / 1.06 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3159, allocations: 326.8 kB / 1.06 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.316, allocations: 63.95 kB / 1.06 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.3162, allocations: 131.6 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.3165, allocations: 209.2 kB / 1.06 GB, free: 500 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3165, allocations: 4 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005819/0.3171, allocations: 342.7 kB / 1.061 GB, free: 136 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.3172, allocations: 69.67 kB / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3172, allocations: 0 / 1.061 GB, free: 56 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.3172, allocations: 4 kB / 1.061 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.3173, allocations: 19.92 kB / 1.061 GB, free: 32 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.3173, allocations: 4 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3175, allocations: 27.83 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3176, allocations: 16.12 kB / 1.061 GB, free: 15.98 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.0001291/0.3177, allocations: 148 kB / 1.061 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.3177, allocations: 27.64 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.318, allocations: 139.5 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.318, allocations: 4 kB / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.318, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.318, allocations: 0 / 1.061 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.3186, allocations: 498.1 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3186, allocations: 3.938 kB / 1.062 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.709e-05/0.3186, allocations: 8 kB / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3186, allocations: 0 / 1.062 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.3187, allocations: 8 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3187, allocations: 4 kB / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3187, allocations: 0 / 1.062 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002359/0.3189, allocations: 245.9 kB / 1.062 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.319, allocations: 104.8 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.319, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3191, allocations: 11.98 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.015e-05/0.3192, allocations: 15.98 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.634e-05/0.3192, allocations: 11.98 kB / 1.062 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001149/0.3194, allocations: 141.5 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3194, allocations: 0 / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003112/0.3197, allocations: 47.91 kB / 1.062 GB, free: 14.49 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.0006854/0.3204, allocations: 0.8369 MB / 1.063 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004215/0.3208, allocations: 262.5 kB / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3208, allocations: 0 / 1.063 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.767e-05/0.3209, allocations: 59.89 kB / 1.063 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000433/0.3214, allocations: 59.64 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.324, allocations: 2.234 MB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/0.3242, allocations: 0.728 MB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.463e-05/0.3244, allocations: 33.92 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.842e-05/0.3244, allocations: 55.42 kB / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of SimCode: time 3.81e-07/0.3245, allocations: 0 / 1.066 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.3531, allocations: 5.428 MB / 1.072 GB, free: 4.734 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.445/7.798, allocations: 13.84 kB / 1.072 GB, free: 4.723 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > 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