Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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.000815/0.000815, 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.0008447/0.0008447, 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.9028/0.9028, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.759/1.759, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 0.9809 GB, free: 2.637 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.981e-05/2.126e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.629 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001148/0.001169, allocations: 0.6002 MB / 0.9815 GB, free: 2.031 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 3.984e-05/0.001209, allocations: 3.984 kB / 0.9815 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.515e-05/0.001224, allocations: 0 / 0.9815 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.725e-05/0.001251, allocations: 7.938 kB / 0.9815 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 7.414e-06/0.001259, allocations: 0 / 0.9815 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.026e-05/0.001289, allocations: 4 kB / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 4.851e-05/0.001338, allocations: 0 / 0.9815 GB, free: 2.016 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.296e-05/0.001381, allocations: 3.984 kB / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 2.888e-05/0.001409, allocations: 0 / 0.9815 GB, free: 2.012 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.827e-05/0.001428, allocations: 4 kB / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/0.001444, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.426e-06/0.001448, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.101e-05/0.001459, allocations: 0 / 0.9815 GB, free: 2.008 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.626e-05/0.001475, allocations: 4 kB / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 4.864e-05/0.001524, allocations: 0 / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.001526, allocations: 0 / 0.9815 GB, free: 2.004 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.22e-07/0.001527, allocations: 4 kB / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.00153, allocations: 0 / 0.9815 GB, free: 2 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002022/0.001733, allocations: 238.4 kB / 0.9818 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.001776, allocations: 12.03 kB / 0.9818 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.722e-05/0.001803, allocations: 30.75 kB / 0.9818 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.842e-05/0.001822, allocations: 0.9375 kB / 0.9818 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.001872, allocations: 101.8 kB / 0.9819 GB, free: 1.559 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.001884, allocations: 4.375 kB / 0.9819 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.001891, allocations: 4.375 kB / 0.9819 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.713e-05/0.001968, allocations: 30.2 kB / 0.9819 GB, free: 1.516 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.001975, allocations: 8.125 kB / 0.9819 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.001981, allocations: 384 / 0.9819 GB, free: 1.508 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.001987, allocations: 4.125 kB / 0.982 GB, free: 1.504 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.597e-05/0.002003, allocations: 7.984 kB / 0.982 GB, free: 1.496 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.648e-05/0.002099, allocations: 112.8 kB / 0.9821 GB, free: 1.344 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.475e-05/0.002134, allocations: 18.61 kB / 0.9821 GB, free: 1.316 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.893e-05/0.002153, allocations: 12.8 kB / 0.9821 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.002161, allocations: 0 / 0.9821 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.002178, allocations: 34.62 kB / 0.9821 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.002179, allocations: 3.938 kB / 0.9821 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001066/0.002286, allocations: 37.69 kB / 0.9822 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.002313, allocations: 55.34 kB / 0.9822 GB, free: 1.145 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.365e-05/0.002336, allocations: 89.86 kB / 0.9823 GB, free: 1.047 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.002345, allocations: 25.7 kB / 0.9823 GB, free: 1.016 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.794e-05/0.002363, allocations: 80.14 kB / 0.9824 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.002389, allocations: 8 kB / 0.9824 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.082e-05/0.00241, allocations: 9.719 kB / 0.9824 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.107e-05/0.002481, allocations: 310.8 kB / 0.9827 GB, free: 0.5977 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.002491, allocations: 4 kB / 0.9827 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.24e-06/0.002496, allocations: 128 / 0.9827 GB, free: 0.5938 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.184e-05/0.002518, allocations: 16.86 kB / 0.9827 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.002519, allocations: 0 / 0.9827 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.761e-05/0.002557, allocations: 41.69 kB / 0.9828 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.002569, allocations: 4 kB / 0.9828 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.002574, allocations: 0 / 0.9828 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.002584, allocations: 0 / 0.9828 GB, free: 0.5234 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.942e-05/0.002634, allocations: 4 kB / 0.9828 GB, free: 0.5195 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.002638, allocations: 3.938 kB / 0.9828 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.813e-06/0.002645, allocations: 0 / 0.9828 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.228e-06/0.002649, allocations: 4.031 kB / 0.9828 GB, free: 0.5117 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.375e-05/0.002703, allocations: 109.8 kB / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-06/0.002706, allocations: 0 / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.364e-05/0.00272, allocations: 3 kB / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.002722, allocations: 0 / 0.9829 GB, free: 404 kB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.002726, allocations: 3.938 kB / 0.9829 GB, free: 400 kB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.002728, allocations: 0 / 0.9829 GB, free: 400 kB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.53e-05/0.002784, allocations: 132.7 kB / 0.983 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.002785, allocations: 0 / 0.983 GB, free: 224 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.532e-06/0.002791, allocations: 3.938 kB / 0.983 GB, free: 220 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.002793, allocations: 0 / 0.983 GB, free: 220 kB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.002797, allocations: 4 kB / 0.983 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.002798, allocations: 0 / 0.983 GB, free: 216 kB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.0028, allocations: 7.938 kB / 0.9831 GB, free: 208 kB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.36e-05/0.002844, allocations: 53.12 kB / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 3.346e-06/0.002847, allocations: 0 / 0.9831 GB, free: 136 kB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.194e-06/0.002855, allocations: 4 kB / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-06/0.002858, allocations: 0 / 0.9831 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.002869, allocations: 3.938 kB / 0.9831 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.00287, allocations: 3.938 kB / 0.9831 GB, free: 124 kB / 0.9323 GB Notification: Performance of sorting global known variables: time 2.049e-05/0.002891, allocations: 75.28 kB / 0.9832 GB, free: 48 kB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.002891, allocations: 4.031 kB / 0.9832 GB, free: 44 kB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0001138/0.003005, allocations: 4 kB / 0.9832 GB, free: 40 kB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003444/0.003349, allocations: 0.589 MB / 0.9838 GB, free: 15.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.802e-05/0.003407, allocations: 8 kB / 0.9838 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.003409, allocations: 0 / 0.9838 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.003412, allocations: 0 / 0.9838 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.808e-05/0.00351, allocations: 3.938 kB / 0.9838 GB, free: 15.41 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.003743, allocations: 110.6 kB / 0.9839 GB, free: 15.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.145e-05/0.003775, allocations: 59.36 kB / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 9.398e-06/0.003784, allocations: 0 / 0.9839 GB, free: 15.18 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.944e-05/0.003804, allocations: 8.5 kB / 0.9839 GB, free: 15.17 MB / 0.948 GB Notification: Performance of SimCode: time 3.31e-07/0.003804, allocations: 0 / 0.9839 GB, free: 15.17 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.01961, allocations: 1.516 MB / 0.9854 GB, free: 13.78 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.96/6.979, allocations: 16.34 kB / 0.9854 GB, free: 13.77 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.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: 10.985187793150544]