Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001671/0.001671, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002168/0.002168, allocations: 216.6 kB / 22.25 MB, free: 4.852 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.781 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.262/3.262, allocations: 0.4892 GB / 0.7943 GB, free: 35.53 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_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.002066/0.002066, allocations: 75.28 kB / 1.153 GB, free: 25.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3966, allocations: 176.1 MB / 1.325 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002812/0.3994, allocations: 0.7897 MB / 1.326 GB, free: 1.555 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001604/0.3996, allocations: 39.8 kB / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.344e-05/0.3996, allocations: 0 / 1.326 GB, free: 1.516 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.234e-05/0.3997, allocations: 15.86 kB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.466e-05/0.3998, allocations: 3.938 kB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.403e-05/0.3998, allocations: 19.98 kB / 1.326 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.4, allocations: 67.77 kB / 1.326 GB, free: 1.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.4002, allocations: 35.97 kB / 1.326 GB, free: 1.375 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.4002, allocations: 23.88 kB / 1.326 GB, free: 1.352 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.103e-05/0.4003, allocations: 23.84 kB / 1.326 GB, free: 1.328 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 4.902e-05/0.4004, allocations: 4 kB / 1.326 GB, free: 1.324 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.668e-05/0.4004, allocations: 8 kB / 1.326 GB, free: 1.316 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.493e-05/0.4004, allocations: 11.94 kB / 1.326 GB, free: 1.305 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.218e-05/0.4005, allocations: 39.73 kB / 1.326 GB, free: 1.266 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.4006, allocations: 75.86 kB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4006, allocations: 0 / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.844e-06/0.4006, allocations: 0 / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.4006, allocations: 0 / 1.326 GB, free: 1.191 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005768/0.4012, allocations: 306 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.4013, allocations: 12.03 kB / 1.327 GB, free: 0.8477 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.4013, allocations: 38.75 kB / 1.327 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.631e-05/0.4014, allocations: 8.891 kB / 1.327 GB, free: 0.793 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.4016, allocations: 138.3 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.4016, allocations: 12.28 kB / 1.327 GB, free: 0.6211 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.4017, allocations: 12.31 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.4019, allocations: 94.14 kB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.4019, allocations: 3.938 kB / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.4019, allocations: 0 / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.4019, allocations: 0 / 1.327 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.402, allocations: 43.92 kB / 1.327 GB, free: 472 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007577/0.4028, allocations: 395.8 kB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.4029, allocations: 37.39 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.693e-05/0.4029, allocations: 21.75 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.403, allocations: 4 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.36e-05/0.403, allocations: 30.56 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.593e-06/0.403, allocations: 0 / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002213/0.4032, allocations: 57.52 kB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.4033, allocations: 85.05 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.4035, allocations: 164.8 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.4035, allocations: 25.7 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.4037, allocations: 112 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.071e-05/0.4038, allocations: 4.203 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.698e-05/0.4038, allocations: 17.72 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002623/0.4041, allocations: 322.8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.784e-05/0.4041, allocations: 8 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.4041, allocations: 13.72 kB / 1.328 GB, free: 15.05 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.347e-05/0.4042, allocations: 25.72 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4042, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001335/0.4043, allocations: 61.58 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.4044, allocations: 7.938 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4044, allocations: 4.062 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.4044, allocations: 0 / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.4045, allocations: 8 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4045, allocations: 3.984 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.39e-05/0.4045, allocations: 11.95 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.4045, allocations: 0 / 1.328 GB, free: 14.91 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.000119/0.4046, allocations: 122.2 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.14e-05/0.4047, allocations: 11.89 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.4048, allocations: 7.812 kB / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.4048, allocations: 0 / 1.328 GB, free: 14.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4048, allocations: 4.094 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4048, allocations: 3.984 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007325/0.4055, allocations: 445.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4055, allocations: 0 / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.627e-05/0.4055, allocations: 3.938 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/0.4055, allocations: 4 kB / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4055, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.4056, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.4056, allocations: 0 / 1.329 GB, free: 14.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.4057, allocations: 89.89 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.435e-05/0.4057, allocations: 11.95 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.4058, allocations: 3.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.401e-05/0.4058, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.865e-05/0.4058, allocations: 0 / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.4058, allocations: 8 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001536/0.406, allocations: 120.9 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.61e-07/0.406, allocations: 3.938 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003576/0.4063, allocations: 4 kB / 1.329 GB, free: 13.99 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.0005795/0.4069, allocations: 0.6172 MB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001181/0.407, allocations: 23.92 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.407, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.584e-05/0.4071, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.4073, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.4093, allocations: 1.336 MB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.4094, allocations: 87.38 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.4095, allocations: 8.422 kB / 1.331 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.4095, allocations: 23.44 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4095, allocations: 0 / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03987/0.4494, allocations: 2.097 MB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.78, allocations: 5.703 kB / 1.333 GB, free: 9.777 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.636173443403095]