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.0008062/0.0008062, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008204/0.0008204, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9056/0.9056, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.671/1.671, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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="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 2.224e-06/2.224e-06, allocations: 0 / 0.9504 GB, free: 3.566 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.712e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.562 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001672/0.001699, allocations: 0.6001 MB / 0.951 GB, free: 2.957 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.489e-05/0.001744, allocations: 3.938 kB / 0.951 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.875e-05/0.001762, allocations: 0 / 0.951 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.799e-05/0.00179, allocations: 4 kB / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.833e-06/0.001797, allocations: 0 / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.231e-05/0.00183, allocations: 0 / 0.951 GB, free: 2.949 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.587e-05/0.001885, allocations: 4 kB / 0.9511 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.001934, allocations: 4 kB / 0.9511 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.081e-05/0.001964, allocations: 0 / 0.9511 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.163e-05/0.001986, allocations: 3.984 kB / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.002005, allocations: 0 / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.002009, allocations: 0 / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.002021, allocations: 0 / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.706e-05/0.002038, allocations: 0 / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.577e-05/0.002094, allocations: 8 kB / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002096, allocations: 0 / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.002097, allocations: 0 / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.038e-06/0.002101, allocations: 0 / 0.9511 GB, free: 2.93 MB / 0.9011 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.0002438/0.002345, allocations: 238.4 kB / 0.9513 GB, free: 2.664 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.002388, allocations: 8.031 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.515e-05/0.002423, allocations: 30.75 kB / 0.9513 GB, free: 2.617 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.213e-05/0.002445, allocations: 4.875 kB / 0.9513 GB, free: 2.613 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.976e-05/0.002515, allocations: 109.8 kB / 0.9514 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.002526, allocations: 384 / 0.9514 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-06/0.002533, allocations: 384 / 0.9514 GB, free: 2.48 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.442e-05/0.002617, allocations: 34.2 kB / 0.9515 GB, free: 2.441 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.002625, allocations: 4.188 kB / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.002633, allocations: 384 / 0.9515 GB, free: 2.438 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.002639, allocations: 4.125 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.63e-05/0.002655, allocations: 0 / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001261/0.002781, allocations: 124.8 kB / 0.9516 GB, free: 2.27 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.196e-05/0.002823, allocations: 14.58 kB / 0.9516 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.59e-05/0.002849, allocations: 12.91 kB / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.002862, allocations: 3.938 kB / 0.9516 GB, free: 2.227 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.002884, allocations: 38.56 kB / 0.9517 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.002885, allocations: 0 / 0.9517 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001208/0.003006, allocations: 33.7 kB / 0.9517 GB, free: 2.141 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.481e-05/0.003041, allocations: 59.34 kB / 0.9518 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.938e-05/0.00307, allocations: 89.86 kB / 0.9518 GB, free: 1.973 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.00308, allocations: 25.7 kB / 0.9519 GB, free: 1.941 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.191e-05/0.003102, allocations: 80.14 kB / 0.9519 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.003128, allocations: 0 / 0.9519 GB, free: 1.859 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.853e-05/0.003157, allocations: 9.719 kB / 0.952 GB, free: 1.844 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.003324, allocations: 318.8 kB / 0.9523 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.252e-05/0.003336, allocations: 128 / 0.9523 GB, free: 1.523 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.002e-05/0.003346, allocations: 11.94 kB / 0.9523 GB, free: 1.512 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.522e-05/0.003371, allocations: 8.859 kB / 0.9523 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.003374, allocations: 0 / 0.9523 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.155e-05/0.003425, allocations: 29.7 kB / 0.9523 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.003441, allocations: 8 kB / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.003446, allocations: 0 / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.003458, allocations: 0 / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.003513, allocations: 0 / 0.9523 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.003519, allocations: 3.938 kB / 0.9523 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.003531, allocations: 12.03 kB / 0.9523 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.269e-06/0.003535, allocations: 0 / 0.9523 GB, free: 1.441 MB / 0.9011 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.491e-05/0.00359, allocations: 109.8 kB / 0.9524 GB, free: 1.324 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.684e-06/0.003598, allocations: 7.984 kB / 0.9524 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.44e-05/0.003612, allocations: 6.938 kB / 0.9524 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.003614, allocations: 0 / 0.9524 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.00362, allocations: 7.938 kB / 0.9525 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.003623, allocations: 0 / 0.9525 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.506e-05/0.003688, allocations: 112.8 kB / 0.9526 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.00369, allocations: 3.938 kB / 0.9526 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.003703, allocations: 8 kB / 0.9526 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.003706, allocations: 3.984 kB / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.003711, allocations: 0 / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.003713, allocations: 0 / 0.9526 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.003715, allocations: 3.938 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.132e-05/0.003776, allocations: 57.14 kB / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-06/0.00378, allocations: 0 / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.816e-06/0.003789, allocations: 0 / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-06/0.003795, allocations: 0 / 0.9526 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.231e-05/0.003807, allocations: 7.922 kB / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.003811, allocations: 4 kB / 0.9526 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.003833, allocations: 79.31 kB / 0.9527 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of sort global known variables: time 9.1e-08/0.003833, allocations: 3.938 kB / 0.9527 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001907/0.004024, allocations: 0 / 0.9527 GB, free: 0.9648 MB / 0.9011 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.0002687/0.004293, allocations: 0.5852 MB / 0.9533 GB, free: 356 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.493e-05/0.004358, allocations: 4 kB / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.00436, allocations: 0 / 0.9533 GB, free: 352 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 5.952e-06/0.004365, allocations: 7.938 kB / 0.9533 GB, free: 344 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.004504, allocations: 4.094 kB / 0.9533 GB, free: 340 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002805/0.004785, allocations: 110.5 kB / 0.9534 GB, free: 188 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.52e-05/0.00482, allocations: 55.34 kB / 0.9535 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.189e-05/0.004832, allocations: 0 / 0.9535 GB, free: 112 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.004852, allocations: 12.5 kB / 0.9535 GB, free: 100 kB / 0.9011 GB Notification: Performance of SimCode: time 6.42e-07/0.004853, allocations: 0 / 0.9535 GB, free: 100 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01541/0.02027, allocations: 1.531 MB / 0.955 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/6.965, allocations: 2.234 kB / 0.955 GB, free: 14.7 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 10.902217428199947]