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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008688/0.0008688, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9329/0.9329, allocations: 177.2 MB / 202.8 MB, free: 5.539 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.838/1.838, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.813e-06/1.813e-06, allocations: 0 / 0.9996 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.572e-05/2.753e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Examples.TimeSeries): time 0.003345/0.003372, allocations: 1.761 MB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0009821/0.004354, allocations: 0.6195 MB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.004434, allocations: 7.938 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001756/0.00461, allocations: 23.72 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000322/0.004932, allocations: 123.4 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.00522, allocations: 163.6 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000226/0.005446, allocations: 247.3 kB / 1.002 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.005564, allocations: 21.8 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001347/0.005699, allocations: 151.7 kB / 1.003 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003135/0.008833, allocations: 1.034 MB / 1.004 GB, free: 9.645 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.963e-05/0.008873, allocations: 20 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.387e-05/0.008947, allocations: 39.92 kB / 1.004 GB, free: 9.586 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.912e-05/0.009006, allocations: 43.83 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.554e-05/0.009102, allocations: 63.81 kB / 1.004 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.009418, allocations: 247.2 kB / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.009421, allocations: 0 / 1.004 GB, free: 9.238 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.363e-06/0.009423, allocations: 4 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.009428, allocations: 0 / 1.004 GB, free: 9.234 MB / 0.9636 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.0006096/0.01004, allocations: 496.6 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.01008, allocations: 8.75 kB / 1.005 GB, free: 8.699 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.01011, allocations: 42.73 kB / 1.005 GB, free: 8.648 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.01017, allocations: 20.84 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.0104, allocations: 197.5 kB / 1.005 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.01041, allocations: 8.375 kB / 1.005 GB, free: 8.402 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.328e-05/0.01044, allocations: 20.38 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.01059, allocations: 114.4 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.0106, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.01062, allocations: 7.984 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.01062, allocations: 4 kB / 1.005 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.058e-05/0.01071, allocations: 59.91 kB / 1.005 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006204/0.01133, allocations: 415.6 kB / 1.005 GB, free: 7.746 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.01155, allocations: 106.6 kB / 1.006 GB, free: 7.633 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.01159, allocations: 28.84 kB / 1.006 GB, free: 7.602 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.01161, allocations: 4 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.01174, allocations: 109.4 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.01174, allocations: 3.938 kB / 1.006 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.0002758/0.01201, allocations: 177.4 kB / 1.006 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/0.01207, allocations: 59.34 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.01221, allocations: 203.8 kB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.01223, allocations: 33.7 kB / 1.006 GB, free: 6.973 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.139e-05/0.01231, allocations: 140.5 kB / 1.006 GB, free: 6.832 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.122e-05/0.01233, allocations: 31.73 kB / 1.006 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.488e-05/0.0124, allocations: 69.62 kB / 1.006 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.19e-05/0.01248, allocations: 326.8 kB / 1.007 GB, free: 6.398 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001806/0.01266, allocations: 127.3 kB / 1.007 GB, free: 6.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.01283, allocations: 244.2 kB / 1.007 GB, free: 5.973 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001927/0.01302, allocations: 217.3 kB / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.01302, allocations: 0 / 1.007 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003847/0.01341, allocations: 392.1 kB / 1.008 GB, free: 5.312 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.057e-05/0.01345, allocations: 63.39 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.01346, allocations: 7.984 kB / 1.008 GB, free: 5.23 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01347, allocations: 4 kB / 1.008 GB, free: 5.227 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.01353, allocations: 15.94 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.01353, allocations: 7.938 kB / 1.008 GB, free: 5.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/0.01363, allocations: 28.03 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.984e-05/0.01365, allocations: 23.97 kB / 1.008 GB, free: 5.152 MB / 0.9636 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 9.313e-05/0.01374, allocations: 135.8 kB / 1.008 GB, free: 5.012 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.01376, allocations: 23.86 kB / 1.008 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001741/0.01394, allocations: 150 kB / 1.008 GB, free: 4.836 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.01394, allocations: 4 kB / 1.008 GB, free: 4.832 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.01395, allocations: 3.938 kB / 1.008 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01395, allocations: 0 / 1.008 GB, free: 4.828 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.01439, allocations: 441.4 kB / 1.008 GB, free: 4.348 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.01439, allocations: 11.88 kB / 1.008 GB, free: 4.336 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.452e-05/0.01442, allocations: 8 kB / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.01442, allocations: 0 / 1.008 GB, free: 4.328 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.746e-06/0.01443, allocations: 4 kB / 1.008 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.01443, allocations: 4 kB / 1.008 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01443, allocations: 0 / 1.008 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.01458, allocations: 239.3 kB / 1.009 GB, free: 4.07 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.01462, allocations: 31.77 kB / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.01463, allocations: 0 / 1.009 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.01469, allocations: 15.98 kB / 1.009 GB, free: 4.023 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.482e-05/0.01474, allocations: 15.97 kB / 1.009 GB, free: 4.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.01476, allocations: 12 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.302e-05/0.01485, allocations: 141.5 kB / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01485, allocations: 0 / 1.009 GB, free: 3.859 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002229/0.01507, allocations: 55.86 kB / 1.009 GB, free: 3.805 MB / 0.9636 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.0005626/0.01563, allocations: 0.8461 MB / 1.01 GB, free: 2.961 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002931/0.01592, allocations: 306 kB / 1.01 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.01593, allocations: 0 / 1.01 GB, free: 2.625 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.01598, allocations: 52.22 kB / 1.01 GB, free: 2.574 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01625, allocations: 59.19 kB / 1.01 GB, free: 2.52 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.01832, allocations: 2.5 MB / 1.013 GB, free: 15.83 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.796e-05/0.0184, allocations: 120.2 kB / 1.013 GB, free: 15.69 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.722e-05/0.01847, allocations: 37.94 kB / 1.013 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.405e-05/0.01854, allocations: 60.47 kB / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of SimCode: time 4.6e-07/0.01854, allocations: 0 / 1.013 GB, free: 15.59 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/0.037, allocations: 6.485 MB / 1.019 GB, free: 9.305 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.003/7.04, allocations: 14.5 kB / 1.019 GB, free: 9.297 MB / 0.9792 GB " [Timeout remaining time 293] (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 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Plotters_Examples_TimeSeries.fmu > Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Plotters_Examples_TimeSeries.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Plotters.Examples.TimeSeries.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.295516940765083]