Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 107.5 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.442/1.442, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.563/2.563, allocations: 443.5 MB / 0.7287 GB, free: 13.31 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 67.89 kB / 1.056 GB, free: 5.918 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8206/0.8226, allocations: 160.7 MB / 1.213 GB, free: 3.879 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002703/0.8253, allocations: 0.8387 MB / 1.214 GB, free: 3.238 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.8255, allocations: 45.09 kB / 1.214 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.625e-05/0.8256, allocations: 2.25 kB / 1.214 GB, free: 3.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.229e-05/0.8257, allocations: 7.875 kB / 1.214 GB, free: 3.191 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.8258, allocations: 9.031 kB / 1.214 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 5.916e-05/0.8258, allocations: 23.3 kB / 1.214 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.826, allocations: 62.33 kB / 1.214 GB, free: 3.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.8262, allocations: 30.88 kB / 1.214 GB, free: 3.105 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.942e-05/0.8263, allocations: 23.58 kB / 1.214 GB, free: 3.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.8264, allocations: 28.33 kB / 1.214 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.8264, allocations: 5.938 kB / 1.214 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.8264, allocations: 6.188 kB / 1.214 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.375e-05/0.8265, allocations: 25.97 kB / 1.214 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.011e-05/0.8265, allocations: 30.41 kB / 1.214 GB, free: 3.02 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001936/0.8267, allocations: 68.05 kB / 1.214 GB, free: 2.969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.146e-06/0.8267, allocations: 7.984 kB / 1.214 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.546e-06/0.8267, allocations: 0 / 1.214 GB, free: 2.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.8268, allocations: 1.031 kB / 1.214 GB, free: 2.961 MB / 0.92 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.0006738/0.8274, allocations: 377.8 kB / 1.214 GB, free: 2.562 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.8275, allocations: 13.78 kB / 1.214 GB, free: 2.559 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.952e-05/0.8275, allocations: 45.8 kB / 1.215 GB, free: 2.508 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.8276, allocations: 13.22 kB / 1.215 GB, free: 2.5 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.8279, allocations: 202.4 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.8279, allocations: 3.625 kB / 1.215 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.8279, allocations: 12.97 kB / 1.215 GB, free: 2.266 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.8281, allocations: 96.28 kB / 1.215 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.8282, allocations: 8.969 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.8282, allocations: 1.125 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.8282, allocations: 1.125 kB / 1.215 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.385e-05/0.8283, allocations: 35.77 kB / 1.215 GB, free: 2.164 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007297/0.829, allocations: 433.3 kB / 1.215 GB, free: 1.73 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.944e-05/0.8291, allocations: 44.72 kB / 1.215 GB, free: 1.672 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.8291, allocations: 15.19 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.8291, allocations: 1.062 kB / 1.215 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.8292, allocations: 47.73 kB / 1.215 GB, free: 1.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.8292, allocations: 0 / 1.215 GB, free: 1.602 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0002331/0.8294, allocations: 50.31 kB / 1.215 GB, free: 1.559 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.8295, allocations: 82.39 kB / 1.216 GB, free: 1.461 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002436/0.8297, allocations: 160.2 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.8298, allocations: 25.7 kB / 1.216 GB, free: 1.301 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.8299, allocations: 101.5 kB / 1.216 GB, free: 1.203 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.323e-05/0.8299, allocations: 9.109 kB / 1.216 GB, free: 1.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.556e-05/0.8299, allocations: 17.06 kB / 1.216 GB, free: 1.176 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.8301, allocations: 321 kB / 1.216 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.209e-05/0.8301, allocations: 7.438 kB / 1.216 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.468e-05/0.8302, allocations: 22.08 kB / 1.216 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.8302, allocations: 26.41 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8302, allocations: 1.125 kB / 1.216 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001132/0.8303, allocations: 62.3 kB / 1.216 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.8304, allocations: 9.656 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.8304, allocations: 1.125 kB / 1.216 GB, free: 0.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8304, allocations: 3.984 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.543e-05/0.8305, allocations: 6.625 kB / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.8305, allocations: 0 / 1.216 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.084e-05/0.8305, allocations: 13.94 kB / 1.216 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.8305, allocations: 1.562 kB / 1.216 GB, free: 0.7344 MB / 0.92 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.0001168/0.8306, allocations: 118 kB / 1.216 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.207e-05/0.8307, allocations: 11.48 kB / 1.216 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.8307, allocations: 14.52 kB / 1.216 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.8307, allocations: 5.188 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.8307, allocations: 0.8125 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8307, allocations: 0.6875 kB / 1.216 GB, free: 0.582 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005392/0.8313, allocations: 474.5 kB / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.8313, allocations: 0 / 1.217 GB, free: 80 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.8313, allocations: 7.094 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.8313, allocations: 1.281 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.8313, allocations: 0.9688 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8313, allocations: 0.9375 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8313, allocations: 0 / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.8315, allocations: 87.09 kB / 1.217 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.8315, allocations: 83.38 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.8316, allocations: 5.141 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.28e-05/0.8316, allocations: 5.188 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.935e-05/0.8316, allocations: 1.375 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.826e-06/0.8316, allocations: 1.156 kB / 1.217 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001105/0.8317, allocations: 121.4 kB / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8317, allocations: 0 / 1.217 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001923/0.8319, allocations: 11.16 kB / 1.217 GB, free: 15.78 MB / 0.9356 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.0004893/0.8324, allocations: 0.6164 MB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.8325, allocations: 18.12 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.8325, allocations: 4.156 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.138e-05/0.8325, allocations: 4.219 kB / 1.218 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001634/0.8327, allocations: 11.28 kB / 1.218 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.8342, allocations: 1.343 MB / 1.219 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.8346, allocations: 0.6996 MB / 1.22 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.8346, allocations: 4.281 kB / 1.22 GB, free: 13.15 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.8347, allocations: 27.33 kB / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of SimCode: time 6.72e-07/0.8347, allocations: 0 / 1.22 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.859, allocations: 1.577 MB / 1.221 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/9.086, allocations: 11.39 kB / 1.221 GB, free: 12.29 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 14.86482854327187]