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.00133/0.00133, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001504/0.001504, allocations: 213.5 kB / 23.04 MB, free: 5.078 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.515/1.515, allocations: 230.6 MB / 256.8 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.49 GB / 0.7959 GB, free: 33.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_12_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.002038/0.002038, allocations: 73.81 kB / 1.155 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3943/0.3963, allocations: 176.1 MB / 1.327 GB, free: 2.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001998/0.3983, allocations: 0.6115 MB / 1.327 GB, free: 1.406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 4.866e-05/0.3984, allocations: 4.406 kB / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.909e-05/0.3984, allocations: 0 / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.928e-05/0.3984, allocations: 0 / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.113e-06/0.3984, allocations: 0 / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 4.001e-05/0.3985, allocations: 0 / 1.327 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.295e-05/0.3986, allocations: 4 kB / 1.327 GB, free: 1.398 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.3986, allocations: 4 kB / 1.327 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.527e-05/0.3986, allocations: 3.984 kB / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 2.413e-05/0.3987, allocations: 0 / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.3987, allocations: 0 / 1.327 GB, free: 1.391 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 4.288e-06/0.3987, allocations: 4 kB / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.3987, allocations: 0 / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.306e-05/0.3987, allocations: 0 / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 6.403e-05/0.3988, allocations: 0 / 1.327 GB, free: 1.387 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.3988, allocations: 7.984 kB / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.512e-06/0.3988, allocations: 0 / 1.327 GB, free: 1.379 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.099e-05/0.3988, allocations: 0 / 1.327 GB, free: 1.379 MB / 1.014 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.0003229/0.3991, allocations: 234.7 kB / 1.327 GB, free: 1.117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.3992, allocations: 16 kB / 1.327 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.615e-05/0.3992, allocations: 4.125 kB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.507e-05/0.3992, allocations: 34.75 kB / 1.328 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.267e-05/0.3992, allocations: 0.9375 kB / 1.328 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.852e-05/0.3993, allocations: 110.5 kB / 1.328 GB, free: 0.9219 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3994, allocations: 4.359 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.3994, allocations: 384 / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3995, allocations: 34 kB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3995, allocations: 0 / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.784e-06/0.3995, allocations: 0 / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3995, allocations: 4 kB / 1.328 GB, free: 0.875 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.733e-05/0.3995, allocations: 4 kB / 1.328 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001442/0.3997, allocations: 120.7 kB / 1.328 GB, free: 0.7109 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 6.645e-05/0.3997, allocations: 22.55 kB / 1.328 GB, free: 0.6797 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.386e-05/0.3998, allocations: 4.859 kB / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.679e-06/0.3998, allocations: 0 / 1.328 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.806e-05/0.3998, allocations: 42.55 kB / 1.328 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.3998, allocations: 4 kB / 1.328 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of matching and sorting (n=1): time 0.000133/0.3999, allocations: 37.64 kB / 1.328 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.4, allocations: 51.41 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.129e-05/0.4001, allocations: 89.86 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.4001, allocations: 25.7 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.4001, allocations: 80.14 kB / 1.328 GB, free: 308 kB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.4001, allocations: 3.953 kB / 1.328 GB, free: 304 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.4002, allocations: 13.72 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.4004, allocations: 319 kB / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.002e-05/0.4004, allocations: 0 / 1.328 GB, free: 15.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-06/0.4004, allocations: 4 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.785e-05/0.4004, allocations: 8.844 kB / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4004, allocations: 0 / 1.328 GB, free: 15.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.499e-05/0.4005, allocations: 37.64 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.4005, allocations: 7.938 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.4005, allocations: 0 / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.4005, allocations: 4.094 kB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.4006, allocations: 0 / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4006, allocations: 4 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-06/0.4006, allocations: 3.938 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.4006, allocations: 0 / 1.329 GB, free: 15.88 MB / 1.029 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 9.99e-05/0.4007, allocations: 110.4 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.073e-05/0.4007, allocations: 7.922 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.138e-05/0.4007, allocations: 3 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.4007, allocations: 4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.4007, allocations: 4 kB / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4007, allocations: 0 / 1.329 GB, free: 15.74 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.4009, allocations: 112.8 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4009, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.265e-05/0.4009, allocations: 8 kB / 1.329 GB, free: 15.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4009, allocations: 3.938 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.4009, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.4009, allocations: 3.984 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4009, allocations: 0 / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001017/0.401, allocations: 65.08 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.739e-06/0.401, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.401, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-06/0.401, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.401, allocations: 3.984 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-06/0.401, allocations: 0 / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.427e-05/0.4011, allocations: 75.28 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4011, allocations: 0 / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001992/0.4013, allocations: 4 kB / 1.329 GB, free: 15.4 MB / 1.029 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.0004838/0.4018, allocations: 0.5891 MB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.4019, allocations: 11.92 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.4019, allocations: 0 / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.23e-06/0.4019, allocations: 4 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.402, allocations: 4.156 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003452/0.4024, allocations: 106.7 kB / 1.33 GB, free: 14.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.4027, allocations: 0.6729 MB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.236e-05/0.4027, allocations: 0 / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.4027, allocations: 11.42 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4027, allocations: 0 / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02223/0.425, allocations: 1.016 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.99, allocations: 15.88 kB / 1.331 GB, free: 13.02 MB / 1.029 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.84075988305267]