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.004069/0.004069, allocations: 96.73 kB / 15.73 MB, free: 6.039 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.001142/0.001142, allocations: 197.6 kB / 16.68 MB, free: 5.969 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.739/2.739, allocations: 469.8 MB / 0.7425 GB, free: 7.266 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 76.09 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.32, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.002978/0.323, allocations: 1.762 MB / 1.222 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3242, allocations: 0.6314 MB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.3242, allocations: 4 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.3244, allocations: 23.72 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3248, allocations: 123.4 kB / 1.223 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.3251, allocations: 163.7 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002964/0.3254, allocations: 243.4 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3255, allocations: 33.61 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.3257, allocations: 103.7 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007493/0.3332, allocations: 1.051 MB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 7.346e-05/0.3332, allocations: 20 kB / 1.224 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.3334, allocations: 43.92 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.931e-05/0.3335, allocations: 43.83 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001373/0.3336, allocations: 91.52 kB / 1.224 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.334, allocations: 223.1 kB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.334, allocations: 4 kB / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.334, allocations: 0 / 1.225 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.157e-05/0.334, allocations: 0 / 1.225 GB, free: 10.02 MB / 0.9825 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.000813/0.3349, allocations: 0.5564 MB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3349, allocations: 12.03 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.335, allocations: 46.73 kB / 1.225 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.636e-05/0.335, allocations: 24.8 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.3354, allocations: 244.2 kB / 1.225 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3354, allocations: 16.36 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.653e-05/0.3354, allocations: 23.88 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000202/0.3356, allocations: 97.64 kB / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3357, allocations: 0 / 1.226 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.3357, allocations: 8 kB / 1.226 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3357, allocations: 0 / 1.226 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.3358, allocations: 59.83 kB / 1.226 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008372/0.3367, allocations: 488.3 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002649/0.3369, allocations: 114.7 kB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.832e-05/0.337, allocations: 44.78 kB / 1.226 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.3371, allocations: 11.94 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.3372, allocations: 95.36 kB / 1.226 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.483e-06/0.3372, allocations: 4 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.0003389/0.3376, allocations: 179.8 kB / 1.227 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3376, allocations: 55.41 kB / 1.227 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.3378, allocations: 211.7 kB / 1.227 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.3379, allocations: 33.7 kB / 1.227 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.546e-05/0.338, allocations: 132.4 kB / 1.227 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.338, allocations: 39.7 kB / 1.227 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3381, allocations: 61.67 kB / 1.227 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.3383, allocations: 330.8 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3384, allocations: 59.95 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002223/0.3387, allocations: 133.5 kB / 1.228 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.339, allocations: 213.2 kB / 1.228 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.339, allocations: 8.031 kB / 1.228 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005851/0.3396, allocations: 332.5 kB / 1.228 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.043e-05/0.3396, allocations: 69.36 kB / 1.228 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3397, allocations: 7.938 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.3397, allocations: 0 / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.826e-05/0.3398, allocations: 27.92 kB / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3398, allocations: 0 / 1.228 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001803/0.34, allocations: 23.88 kB / 1.228 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.34, allocations: 16.16 kB / 1.228 GB, free: 5.973 MB / 0.9825 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.0001388/0.3402, allocations: 144 kB / 1.228 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3402, allocations: 19.84 kB / 1.228 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002468/0.3404, allocations: 151.4 kB / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3405, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3405, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.3405, allocations: 0 / 1.229 GB, free: 5.645 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/0.3411, allocations: 498.2 kB / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3411, allocations: 0 / 1.229 GB, free: 5.102 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.519e-05/0.3411, allocations: 11.92 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3411, allocations: 3.938 kB / 1.229 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3411, allocations: 4 kB / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3412, allocations: 0 / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3412, allocations: 0 / 1.229 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002477/0.3414, allocations: 246 kB / 1.229 GB, free: 4.828 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.658e-05/0.3415, allocations: 113 kB / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.3415, allocations: 0 / 1.229 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.3416, allocations: 11.98 kB / 1.229 GB, free: 4.688 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.3417, allocations: 11.98 kB / 1.229 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3417, allocations: 12 kB / 1.229 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001271/0.3419, allocations: 149.5 kB / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3419, allocations: 0 / 1.23 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002968/0.3422, allocations: 51.89 kB / 1.23 GB, free: 4.469 MB / 0.9825 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.0008381/0.343, allocations: 0.8439 MB / 1.23 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003953/0.3434, allocations: 254.6 kB / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3434, allocations: 0 / 1.231 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.288e-05/0.3435, allocations: 51.92 kB / 1.231 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004163/0.344, allocations: 70.78 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3467, allocations: 2.259 MB / 1.233 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3471, allocations: 0.7242 MB / 1.234 GB, free: 100 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.863e-05/0.3472, allocations: 29.94 kB / 1.234 GB, free: 68 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.3473, allocations: 59.41 kB / 1.234 GB, free: 8 kB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3473, allocations: 3.938 kB / 1.234 GB, free: 4 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.194/2.541, allocations: 5.478 MB / 1.239 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.6/16.14, allocations: 11.73 kB / 1.239 GB, free: 10.64 MB / 0.9981 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