Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00202/0.00202, allocations: 97.92 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.002091/0.002091, allocations: 215.9 kB / 23.03 MB, free: 4.949 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.533/1.533, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.225/3.225, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_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.001974/0.001974, allocations: 62.12 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3968, allocations: 176.1 MB / 1.327 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002773/0.3996, allocations: 0.8427 MB / 1.327 GB, free: 0.6445 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001932/0.3998, allocations: 55.72 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.576e-05/0.3999, allocations: 0 / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.05e-05/0.3999, allocations: 7.875 kB / 1.327 GB, free: 0.582 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.4, allocations: 15.86 kB / 1.328 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.327e-05/0.4001, allocations: 23.92 kB / 1.328 GB, free: 0.543 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000158/0.4003, allocations: 79.83 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.4004, allocations: 49.22 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.364e-05/0.4005, allocations: 31.81 kB / 1.328 GB, free: 392 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.997e-05/0.4006, allocations: 35.78 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.4006, allocations: 8 kB / 1.328 GB, free: 348 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.474e-05/0.4006, allocations: 8 kB / 1.328 GB, free: 340 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.4007, allocations: 23.91 kB / 1.328 GB, free: 316 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.4007, allocations: 31.8 kB / 1.328 GB, free: 284 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.4009, allocations: 103.7 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4009, allocations: 0 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.4009, allocations: 0 / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.4009, allocations: 0 / 1.328 GB, free: 180 kB / 1.014 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.0005411/0.4014, allocations: 330 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.4015, allocations: 12.03 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.273e-05/0.4015, allocations: 8.375 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.553e-05/0.4016, allocations: 42.73 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.213e-05/0.4016, allocations: 12.89 kB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.4018, allocations: 146.5 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4019, allocations: 4.562 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.4019, allocations: 15.88 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4021, allocations: 100.7 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4021, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4021, allocations: 8 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4021, allocations: 0 / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001082/0.4022, allocations: 51.91 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006692/0.4029, allocations: 419.6 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.989e-05/0.403, allocations: 37.16 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.008e-05/0.403, allocations: 17.78 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.403, allocations: 0 / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.403, allocations: 34.56 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 2.575e-06/0.403, allocations: 7.984 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001982/0.4032, allocations: 57.58 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4033, allocations: 85.05 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001916/0.4035, allocations: 187.2 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.4035, allocations: 25.7 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.41e-05/0.4036, allocations: 108.2 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.4036, allocations: 7.953 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.592e-05/0.4036, allocations: 17.66 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.4038, allocations: 326.8 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.856e-05/0.4038, allocations: 4.25 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.4038, allocations: 25.66 kB / 1.33 GB, free: 13.9 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.378e-05/0.4039, allocations: 25.72 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4039, allocations: 3.984 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.556e-05/0.404, allocations: 57.59 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.404, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.404, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.404, allocations: 0 / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.4041, allocations: 4 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.4041, allocations: 11.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.35e-05/0.4041, allocations: 11.89 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.4041, allocations: 4 kB / 1.33 GB, free: 13.76 MB / 1.029 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 9.101e-05/0.4042, allocations: 113.8 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.4043, allocations: 11.91 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.4043, allocations: 12.5 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4043, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4043, allocations: 7.922 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.4043, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004222/0.4047, allocations: 441.9 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4047, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.496e-05/0.4048, allocations: 7.938 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4048, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.4048, allocations: 4 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.174e-06/0.4048, allocations: 11.92 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4048, allocations: 3.938 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.117e-05/0.4049, allocations: 73.95 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.865e-05/0.4049, allocations: 23.83 kB / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.423e-05/0.4049, allocations: 0 / 1.331 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.4049, allocations: 4.094 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.405, allocations: 4 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.405, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001142/0.4051, allocations: 136.3 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4051, allocations: 0 / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001963/0.4053, allocations: 12 kB / 1.331 GB, free: 12.82 MB / 1.029 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.0004332/0.4057, allocations: 0.6209 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.4058, allocations: 15.94 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4058, allocations: 4.156 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.4058, allocations: 8 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.406, allocations: 8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.4075, allocations: 1.407 MB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.964e-05/0.4075, allocations: 84.19 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.441e-05/0.4076, allocations: 12.61 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.007e-05/0.4076, allocations: 31.42 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of SimCode: time 5.51e-07/0.4076, allocations: 0 / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02276/0.4304, allocations: 1.918 MB / 1.335 GB, free: 8.723 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 9.344 kB / 1.335 GB, free: 8.719 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_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.14365170407109]