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.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.001454/0.001454, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.001465/0.001465, allocations: 221.1 kB / 23.03 MB, free: 4.945 MB / 14.72 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 1.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.8 MB / 0.7715 GB, free: 3.934 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 64.05 kB / 1.118 GB, free: 39.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3545, allocations: 170 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002244/0.3567, allocations: 0.613 MB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 5.259e-05/0.3568, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.3568, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3569, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.266e-06/0.3569, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.527e-05/0.3569, allocations: 3.984 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.537e-05/0.357, allocations: 7.938 kB / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.17e-05/0.357, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.389e-05/0.357, allocations: 0 / 1.285 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.026e-05/0.3571, allocations: 4 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.097e-05/0.3571, allocations: 0 / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.807e-06/0.3571, allocations: 3.938 kB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.727e-05/0.3571, allocations: 7.938 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.3571, allocations: 4 kB / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 6.604e-05/0.3572, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3572, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3572, allocations: 0 / 1.285 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.3572, allocations: 0 / 1.285 GB, free: 10.12 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003256/0.3575, allocations: 234.5 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3576, allocations: 8.031 kB / 1.285 GB, free: 9.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.554e-05/0.3576, allocations: 4.188 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.3576, allocations: 34.75 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.3576, allocations: 0.9375 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.3577, allocations: 106.5 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.3577, allocations: 384 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.3578, allocations: 384 / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.3579, allocations: 38 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3579, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.3579, allocations: 0 / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3579, allocations: 3.938 kB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.052e-05/0.3579, allocations: 7.938 kB / 1.285 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001676/0.3581, allocations: 124.8 kB / 1.285 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.623e-05/0.3581, allocations: 14.58 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.8e-05/0.3581, allocations: 8.953 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.3582, allocations: 0 / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.717e-05/0.3582, allocations: 34.66 kB / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.3582, allocations: 0 / 1.285 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001337/0.3583, allocations: 41.64 kB / 1.285 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3584, allocations: 51.41 kB / 1.285 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.037e-05/0.3584, allocations: 93.97 kB / 1.285 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.3584, allocations: 29.7 kB / 1.285 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.3585, allocations: 80.14 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.3585, allocations: 7.938 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/0.3585, allocations: 13.72 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3587, allocations: 314.8 kB / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-06/0.3587, allocations: 0 / 1.286 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-06/0.3587, allocations: 4 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.604e-05/0.3587, allocations: 8.859 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3587, allocations: 0 / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.088e-05/0.3588, allocations: 41.7 kB / 1.286 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.3588, allocations: 11.92 kB / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3588, allocations: 0 / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.86e-05/0.3588, allocations: 0 / 1.286 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.3589, allocations: 7.938 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.3589, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.588e-06/0.3589, allocations: 0 / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.3589, allocations: 4 kB / 1.286 GB, free: 8.617 MB / 0.9825 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 8.294e-05/0.359, allocations: 105.8 kB / 1.286 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.359, allocations: 7.938 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.897e-05/0.359, allocations: 11.03 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.359, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.359, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.359, allocations: 0 / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3591, allocations: 116.8 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3591, allocations: 0 / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.419e-05/0.3591, allocations: 7.938 kB / 1.286 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.778e-06/0.3592, allocations: 3.938 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.3592, allocations: 0 / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3592, allocations: 3.938 kB / 1.286 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.693e-05/0.3592, allocations: 65.12 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-06/0.3592, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.3593, allocations: 3.938 kB / 1.286 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-06/0.3593, allocations: 4 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.415e-05/0.3593, allocations: 0 / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-06/0.3593, allocations: 0 / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.268e-05/0.3593, allocations: 75.28 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5e-08/0.3593, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001894/0.3595, allocations: 0 / 1.286 GB, free: 8.152 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: 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.0003837/0.3599, allocations: 0.5968 MB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.101e-05/0.36, allocations: 4 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.36, allocations: 0 / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-06/0.36, allocations: 4 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001297/0.3601, allocations: 4 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003182/0.3604, allocations: 98.72 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.3605, allocations: 55.36 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.055e-05/0.3605, allocations: 0 / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.3605, allocations: 11.38 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.3605, allocations: 4.156 kB / 1.287 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3826, allocations: 1.048 MB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.71, allocations: 9.453 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB " [Timeout remaining time 288] (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/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: 18.618272489053197]