Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001705, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.044/3.044, allocations: 476.7 MB / 0.7611 GB, free: 15.73 MB / 0.6075 GB " [Timeout remaining time 176] 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.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 63.89 kB / 1.104 GB, free: 6.625 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189/1.191, allocations: 168.7 MB / 1.269 GB, free: 7.645 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002327/1.193, allocations: 0.5925 MB / 1.269 GB, free: 7.391 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 5.771e-05/1.193, allocations: 5.125 kB / 1.269 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/1.193, allocations: 0 / 1.269 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.712e-05/1.193, allocations: 4 kB / 1.269 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.164e-06/1.193, allocations: 0.7812 kB / 1.269 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.727e-05/1.193, allocations: 4.609 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.778e-05/1.193, allocations: 1.656 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.401e-05/1.193, allocations: 1.906 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.564e-05/1.193, allocations: 1.656 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.589e-05/1.193, allocations: 1.531 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.403e-05/1.193, allocations: 0.6875 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/1.193, allocations: 0 / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/1.193, allocations: 1.391 kB / 1.269 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.355e-05/1.193, allocations: 7.984 kB / 1.269 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 7.056e-05/1.194, allocations: 3.359 kB / 1.269 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.032e-06/1.194, allocations: 0 / 1.269 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.505e-06/1.194, allocations: 0.5938 kB / 1.269 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.072e-05/1.194, allocations: 0 / 1.269 GB, free: 7.371 MB / 0.9981 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.0003018/1.194, allocations: 319 kB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.194, allocations: 9 kB / 1.27 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.073e-05/1.194, allocations: 32.19 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.458e-05/1.194, allocations: 0.9375 kB / 1.27 GB, free: 6.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.448e-05/1.194, allocations: 162.6 kB / 1.27 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.194, allocations: 8.922 kB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/1.194, allocations: 1.281 kB / 1.27 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.194, allocations: 28.73 kB / 1.27 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/1.194, allocations: 3.938 kB / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/1.194, allocations: 0 / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/1.194, allocations: 0.8438 kB / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.894e-05/1.194, allocations: 1.453 kB / 1.27 GB, free: 6.738 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001283/1.194, allocations: 149 kB / 1.27 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.017e-05/1.194, allocations: 24.17 kB / 1.27 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.241e-05/1.194, allocations: 11.86 kB / 1.27 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/1.194, allocations: 0 / 1.27 GB, free: 6.504 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/1.194, allocations: 36.73 kB / 1.27 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/1.194, allocations: 0 / 1.27 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.000151/1.195, allocations: 39.39 kB / 1.27 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/1.195, allocations: 52.91 kB / 1.27 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.2e-05/1.195, allocations: 93.86 kB / 1.27 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-06/1.195, allocations: 29.64 kB / 1.27 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.171e-05/1.195, allocations: 81.72 kB / 1.27 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/1.195, allocations: 0.7188 kB / 1.27 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/1.195, allocations: 11.94 kB / 1.27 GB, free: 6.125 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.502e-05/1.195, allocations: 320 kB / 1.271 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.118e-05/1.195, allocations: 0.8125 kB / 1.271 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.325e-06/1.195, allocations: 1.5 kB / 1.271 GB, free: 5.805 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.919e-05/1.195, allocations: 12.2 kB / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/1.195, allocations: 0 / 1.271 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.687e-05/1.195, allocations: 31.52 kB / 1.271 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/1.195, allocations: 5.922 kB / 1.271 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.195, allocations: 5 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.195, allocations: 0 / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/1.195, allocations: 2.031 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/1.195, allocations: 0.8438 kB / 1.271 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.098e-05/1.195, allocations: 7.969 kB / 1.271 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/1.195, allocations: 1.344 kB / 1.271 GB, free: 5.75 MB / 0.9981 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.271e-05/1.195, allocations: 111.6 kB / 1.271 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.32e-06/1.195, allocations: 1.031 kB / 1.271 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.343e-05/1.195, allocations: 7.625 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/1.195, allocations: 1.219 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/1.195, allocations: 1 kB / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/1.195, allocations: 0 / 1.271 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.138e-05/1.195, allocations: 144.5 kB / 1.271 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/1.195, allocations: 1.609 kB / 1.271 GB, free: 5.438 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.899e-06/1.195, allocations: 4.812 kB / 1.271 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/1.195, allocations: 0.6875 kB / 1.271 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.195, allocations: 5.203 kB / 1.271 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/1.195, allocations: 0 / 1.271 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/1.195, allocations: 4.812 kB / 1.271 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.292e-05/1.195, allocations: 56.73 kB / 1.271 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.895e-05/1.195, allocations: 78.94 kB / 1.271 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.195, allocations: 9.375 kB / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.534e-06/1.195, allocations: 0 / 1.271 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.984e-05/1.195, allocations: 9.25 kB / 1.271 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/1.195, allocations: 0.9062 kB / 1.271 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.825e-05/1.195, allocations: 75.28 kB / 1.271 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4e-08/1.195, allocations: 0 / 1.271 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002157/1.196, allocations: 1.438 kB / 1.271 GB, free: 5.176 MB / 0.9981 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.0002725/1.196, allocations: 0.5933 MB / 1.272 GB, free: 4.574 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.368e-05/1.196, allocations: 11.62 kB / 1.272 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/1.196, allocations: 4.812 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/1.196, allocations: 1.688 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/1.196, allocations: 3.453 kB / 1.272 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/1.197, allocations: 109.3 kB / 1.272 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/1.197, allocations: 0.6715 MB / 1.273 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.25e-05/1.197, allocations: 0.8438 kB / 1.273 GB, free: 3.73 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.593e-05/1.197, allocations: 7.438 kB / 1.273 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/1.197, allocations: 0 / 1.273 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02801/1.225, allocations: 0.8944 MB / 1.273 GB, free: 19.35 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/9.256, allocations: 12.38 kB / 1.273 GB, free: 19.34 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.693727985955775]