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.006052/0.006053, allocations: 99.36 kB / 15.73 MB, free: 6.043 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.001258/0.001258, allocations: 185.6 kB / 16.67 MB, free: 5.977 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.365/1.365, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.704/2.704, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3236, allocations: 157.4 MB / 1.207 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003321/0.3269, allocations: 1.773 MB / 1.209 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001192/0.3282, allocations: 0.6357 MB / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.3283, allocations: 0 / 1.21 GB, free: 7.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.3285, allocations: 31.72 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.3289, allocations: 119.4 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.3293, allocations: 161.8 kB / 1.21 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003172/0.3296, allocations: 239.4 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.3297, allocations: 45.66 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3299, allocations: 99.73 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006176/0.3361, allocations: 1.056 MB / 1.211 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.171e-05/0.3361, allocations: 16 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.185e-05/0.3362, allocations: 32 kB / 1.211 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.825e-05/0.3363, allocations: 47.83 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.3364, allocations: 91.5 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003064/0.3367, allocations: 219.3 kB / 1.212 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3367, allocations: 0 / 1.212 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.945e-06/0.3367, allocations: 3.984 kB / 1.212 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.3367, allocations: 0 / 1.212 GB, free: 5.895 MB / 0.9669 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.0007485/0.3375, allocations: 0.5604 MB / 1.212 GB, free: 5.273 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3375, allocations: 8.625 kB / 1.212 GB, free: 5.266 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.3376, allocations: 46.73 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.629e-05/0.3377, allocations: 24.66 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.338, allocations: 240.2 kB / 1.213 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.338, allocations: 12.38 kB / 1.213 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.3381, allocations: 23.88 kB / 1.213 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3383, allocations: 105.6 kB / 1.213 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.3383, allocations: 4 kB / 1.213 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3383, allocations: 4 kB / 1.213 GB, free: 4.762 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3383, allocations: 4 kB / 1.213 GB, free: 4.758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.3384, allocations: 55.97 kB / 1.213 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008408/0.3393, allocations: 492.1 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.3396, allocations: 114.6 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.02e-05/0.3396, allocations: 40.83 kB / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3397, allocations: 0 / 1.213 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.3398, allocations: 107.3 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.3398, allocations: 4 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.0003395/0.3402, allocations: 180.2 kB / 1.214 GB, free: 3.707 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.3402, allocations: 59.34 kB / 1.214 GB, free: 3.637 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.3404, allocations: 203.7 kB / 1.214 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.3405, allocations: 37.69 kB / 1.214 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.482e-05/0.3406, allocations: 132.4 kB / 1.214 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3406, allocations: 31.55 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.3407, allocations: 61.69 kB / 1.214 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3408, allocations: 334.8 kB / 1.214 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.341, allocations: 59.95 kB / 1.215 GB, free: 2.754 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002219/0.3412, allocations: 130.1 kB / 1.215 GB, free: 2.602 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.3415, allocations: 217.3 kB / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3415, allocations: 0 / 1.215 GB, free: 2.355 MB / 0.9669 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005918/0.3421, allocations: 329.4 kB / 1.215 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 6.016e-05/0.3422, allocations: 71.48 kB / 1.215 GB, free: 1.934 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.3422, allocations: 4 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3422, allocations: 4 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.3423, allocations: 19.92 kB / 1.215 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3423, allocations: 4 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.3426, allocations: 23.83 kB / 1.215 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3426, allocations: 19.97 kB / 1.215 GB, free: 1.859 MB / 0.9669 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.0001343/0.3427, allocations: 144 kB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.018e-05/0.3428, allocations: 19.75 kB / 1.215 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002388/0.343, allocations: 147.5 kB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.343, allocations: 0 / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.343, allocations: 0 / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.343, allocations: 4 kB / 1.216 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005876/0.3436, allocations: 486.2 kB / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3437, allocations: 0 / 1.216 GB, free: 1.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.3437, allocations: 15.86 kB / 1.216 GB, free: 0.9922 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.449e-06/0.3437, allocations: 4 kB / 1.216 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.3437, allocations: 12 kB / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3437, allocations: 0 / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3437, allocations: 0 / 1.216 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.344, allocations: 241.5 kB / 1.216 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.3441, allocations: 112.8 kB / 1.216 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.3441, allocations: 4 kB / 1.216 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.3442, allocations: 11.98 kB / 1.216 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.3443, allocations: 15.98 kB / 1.216 GB, free: 0.5664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3443, allocations: 8 kB / 1.216 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001294/0.3445, allocations: 149.5 kB / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3445, allocations: 0 / 1.217 GB, free: 424 kB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003145/0.3448, allocations: 40 kB / 1.217 GB, free: 384 kB / 0.9669 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.00074/0.3455, allocations: 0.8417 MB / 1.217 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004022/0.346, allocations: 256.6 kB / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.346, allocations: 0 / 1.218 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.284e-05/0.3461, allocations: 55.84 kB / 1.218 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3465, allocations: 57.69 kB / 1.218 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.3493, allocations: 2.249 MB / 1.22 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002976/0.3496, allocations: 0.7242 MB / 1.221 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.703e-05/0.3497, allocations: 34 kB / 1.221 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.516e-05/0.3498, allocations: 63.34 kB / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3498, allocations: 0 / 1.221 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02144/0.3713, allocations: 5.593 MB / 1.226 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.342, allocations: 4.719 kB / 1.226 GB, free: 6.453 MB / 0.9825 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