Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001355/0.001355, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.001899/0.001899, allocations: 216.6 kB / 22.25 MB, free: 5.242 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.801 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.203/3.203, allocations: 0.4892 GB / 0.7943 GB, free: 35.7 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.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",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.002203/0.002203, allocations: 62.28 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3993, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002743/0.4021, allocations: 0.8388 MB / 1.326 GB, free: 1.539 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002073/0.4023, allocations: 59.7 kB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.879e-05/0.4024, allocations: 0 / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.4024, allocations: 11.88 kB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.507e-05/0.4025, allocations: 11.81 kB / 1.326 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.989e-05/0.4026, allocations: 27.97 kB / 1.326 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001636/0.4028, allocations: 75.83 kB / 1.326 GB, free: 1.355 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001773/0.4029, allocations: 41.28 kB / 1.326 GB, free: 1.312 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.829e-05/0.403, allocations: 43.73 kB / 1.326 GB, free: 1.27 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.338e-05/0.4031, allocations: 27.78 kB / 1.326 GB, free: 1.242 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.804e-05/0.4031, allocations: 8 kB / 1.326 GB, free: 1.234 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.448e-05/0.4032, allocations: 8 kB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.4032, allocations: 19.92 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.651e-05/0.4032, allocations: 31.81 kB / 1.326 GB, free: 1.176 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.4034, allocations: 107.7 kB / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4034, allocations: 0 / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4034, allocations: 0 / 1.326 GB, free: 1.07 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.814e-06/0.4034, allocations: 3.938 kB / 1.326 GB, free: 1.066 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005564/0.404, allocations: 334 kB / 1.327 GB, free: 0.707 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.404, allocations: 8.031 kB / 1.327 GB, free: 0.6992 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.4041, allocations: 38.75 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.756e-05/0.4041, allocations: 12.88 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.4044, allocations: 142.5 kB / 1.327 GB, free: 488 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.4044, allocations: 8.562 kB / 1.327 GB, free: 480 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.4044, allocations: 8.375 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.4046, allocations: 109 kB / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.4046, allocations: 0 / 1.327 GB, free: 352 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.4046, allocations: 4 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4046, allocations: 8 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4047, allocations: 51.8 kB / 1.327 GB, free: 288 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006559/0.4054, allocations: 415.6 kB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.4055, allocations: 41.09 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.4055, allocations: 21.83 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.093e-05/0.4055, allocations: 0 / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.4056, allocations: 34.56 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.4056, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001968/0.4058, allocations: 57.59 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.4058, allocations: 77.11 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.406, allocations: 191.2 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.855e-05/0.406, allocations: 25.7 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.246e-05/0.4061, allocations: 112 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.869e-06/0.4061, allocations: 7.953 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.4062, allocations: 21.7 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.4063, allocations: 314.8 kB / 1.328 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.829e-05/0.4064, allocations: 7.984 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.355e-05/0.4064, allocations: 25.66 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.465e-05/0.4064, allocations: 25.97 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4064, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.4066, allocations: 65.67 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4066, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.298e-06/0.4066, allocations: 3.984 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4066, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.388e-05/0.4067, allocations: 8 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4067, allocations: 224 / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.807e-05/0.4067, allocations: 19.89 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.4067, allocations: 3.938 kB / 1.328 GB, free: 14.67 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 0.0001106/0.4068, allocations: 113.8 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/0.4069, allocations: 15.89 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.4069, allocations: 12.5 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.4069, allocations: 7.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4069, allocations: 4 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.4069, allocations: 3.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.4074, allocations: 441.9 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4074, allocations: 64 / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.4074, allocations: 8 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.4074, allocations: 3.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.4075, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.4075, allocations: 3.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4075, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.4076, allocations: 85.89 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.4076, allocations: 7.953 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.4076, allocations: 3.938 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.4077, allocations: 7.984 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.4077, allocations: 0 / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-06/0.4077, allocations: 4.031 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001333/0.4078, allocations: 136.3 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4078, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001968/0.408, allocations: 8 kB / 1.329 GB, free: 13.72 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.0004713/0.4085, allocations: 0.6209 MB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.553e-05/0.4086, allocations: 23.92 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.4086, allocations: 0 / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.408e-05/0.4086, allocations: 8.156 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001749/0.4088, allocations: 9.25 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001585/0.4103, allocations: 1.403 MB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.192e-05/0.4104, allocations: 84.19 kB / 1.331 GB, free: 11.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.199e-05/0.4105, allocations: 12.61 kB / 1.331 GB, free: 11.42 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.497e-05/0.4105, allocations: 27.44 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of SimCode: time 8.02e-07/0.4105, allocations: 4 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.4425, allocations: 2.27 MB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.01, allocations: 7.188 kB / 1.334 GB, free: 9.258 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.684686508961022]