Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001806/0.001806, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001677/0.001677, allocations: 214.9 kB / 23.03 MB, free: 4.918 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.267/3.267, allocations: 0.5003 GB / 0.8062 GB, free: 28.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.002056/0.002056, allocations: 69.84 kB / 1.171 GB, free: 19.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3671, allocations: 179 MB / 1.345 GB, free: 15.93 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002618/0.3697, allocations: 0.8323 MB / 1.346 GB, free: 15.09 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002206/0.3699, allocations: 55.78 kB / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3701, allocations: 0 / 1.346 GB, free: 15.04 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 6.367e-05/0.3701, allocations: 15.8 kB / 1.346 GB, free: 15.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.3702, allocations: 11.88 kB / 1.346 GB, free: 15.01 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 9.577e-05/0.3703, allocations: 27.97 kB / 1.346 GB, free: 14.98 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.3705, allocations: 75.78 kB / 1.346 GB, free: 14.91 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001598/0.3706, allocations: 45.02 kB / 1.346 GB, free: 14.86 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.3707, allocations: 31.86 kB / 1.346 GB, free: 14.83 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.556e-05/0.3708, allocations: 39.72 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.3708, allocations: 8 kB / 1.346 GB, free: 14.79 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.3708, allocations: 12 kB / 1.346 GB, free: 14.77 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.817e-05/0.3709, allocations: 15.94 kB / 1.346 GB, free: 14.76 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.813e-05/0.3709, allocations: 35.8 kB / 1.346 GB, free: 14.72 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.3711, allocations: 107.7 kB / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.3711, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.543e-06/0.3711, allocations: 0 / 1.347 GB, free: 14.62 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.3711, allocations: 3.938 kB / 1.347 GB, free: 14.61 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005596/0.3717, allocations: 326 kB / 1.347 GB, free: 14.26 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3717, allocations: 12.03 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.23e-05/0.3717, allocations: 4.375 kB / 1.347 GB, free: 14.25 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.3718, allocations: 38.75 kB / 1.347 GB, free: 14.2 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.515e-05/0.3718, allocations: 16.84 kB / 1.347 GB, free: 14.18 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.3721, allocations: 142.5 kB / 1.347 GB, free: 14.02 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.3721, allocations: 8.562 kB / 1.347 GB, free: 14.01 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.521e-05/0.3721, allocations: 7.938 kB / 1.347 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002028/0.3723, allocations: 104.3 kB / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3723, allocations: 0 / 1.347 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.037e-05/0.3724, allocations: 15.98 kB / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.3724, allocations: 0 / 1.347 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.3725, allocations: 43.92 kB / 1.347 GB, free: 13.83 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006964/0.3732, allocations: 423.6 kB / 1.348 GB, free: 13.37 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6.737e-05/0.3732, allocations: 45.16 kB / 1.348 GB, free: 13.31 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.619e-05/0.3733, allocations: 13.78 kB / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-06/0.3733, allocations: 0 / 1.348 GB, free: 13.29 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.3733, allocations: 42.55 kB / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3733, allocations: 0 / 1.348 GB, free: 13.24 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0001881/0.3735, allocations: 53.55 kB / 1.348 GB, free: 13.18 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.3736, allocations: 85.05 kB / 1.348 GB, free: 13.08 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.3737, allocations: 179 kB / 1.348 GB, free: 12.89 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.3738, allocations: 33.7 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.3738, allocations: 112 kB / 1.348 GB, free: 12.74 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 9.348e-06/0.3739, allocations: 3.953 kB / 1.348 GB, free: 12.73 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.3739, allocations: 17.72 kB / 1.348 GB, free: 12.71 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3741, allocations: 322.8 kB / 1.349 GB, free: 12.39 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3741, allocations: 4 kB / 1.349 GB, free: 12.38 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.764e-05/0.3741, allocations: 21.7 kB / 1.349 GB, free: 12.36 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.3741, allocations: 21.72 kB / 1.349 GB, free: 12.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.269e-06/0.3742, allocations: 4 kB / 1.349 GB, free: 12.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.991e-05/0.3743, allocations: 69.53 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.3743, allocations: 5.875 kB / 1.349 GB, free: 12.25 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3743, allocations: 4 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.3743, allocations: 0 / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.103e-05/0.3744, allocations: 4 kB / 1.349 GB, free: 12.24 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3744, allocations: 3.938 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.3744, allocations: 7.938 kB / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.3744, allocations: 0 / 1.349 GB, free: 12.23 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.912e-05/0.3745, allocations: 117.8 kB / 1.349 GB, free: 12.1 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.647e-05/0.3745, allocations: 20.12 kB / 1.349 GB, free: 12.08 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.3746, allocations: 20.42 kB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.3746, allocations: 3.938 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3746, allocations: 3.938 kB / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3746, allocations: 0 / 1.349 GB, free: 12.05 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.375, allocations: 441.9 kB / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.375, allocations: 0 / 1.349 GB, free: 11.56 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.595e-05/0.375, allocations: 7.938 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.375, allocations: 0 / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.3751, allocations: 4 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3751, allocations: 4.062 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3751, allocations: 0 / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.3752, allocations: 81.89 kB / 1.349 GB, free: 11.45 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 3.307e-05/0.3752, allocations: 15.89 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.3752, allocations: 0 / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.459e-05/0.3752, allocations: 4 kB / 1.349 GB, free: 11.43 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.647e-05/0.3752, allocations: 7.922 kB / 1.349 GB, free: 11.42 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-06/0.3753, allocations: 4 kB / 1.349 GB, free: 11.41 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001353/0.3754, allocations: 140.8 kB / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3754, allocations: 0 / 1.35 GB, free: 11.28 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001902/0.3756, allocations: 12.03 kB / 1.35 GB, free: 11.27 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004936/0.3761, allocations: 0.6132 MB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 9.362e-05/0.3762, allocations: 19.94 kB / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3762, allocations: 0 / 1.35 GB, free: 10.6 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.556e-05/0.3762, allocations: 7.984 kB / 1.35 GB, free: 10.59 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3764, allocations: 8 kB / 1.35 GB, free: 10.58 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.378, allocations: 1.41 MB / 1.352 GB, free: 9.078 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.355e-05/0.3781, allocations: 84.19 kB / 1.352 GB, free: 8.977 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.381e-05/0.3781, allocations: 4.5 kB / 1.352 GB, free: 8.973 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.008e-05/0.3782, allocations: 31.42 kB / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of SimCode: time 5.21e-07/0.3782, allocations: 0 / 1.352 GB, free: 8.941 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.4011, allocations: 1.929 MB / 1.354 GB, free: 7.16 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.86, allocations: 8.141 kB / 1.354 GB, free: 7.156 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 19.005516326986253]