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.001464/0.001464, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001513/0.001513, allocations: 213 kB / 22.25 MB, free: 5.262 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.785 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.307/3.307, allocations: 0.4892 GB / 0.7943 GB, free: 35.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_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.002119/0.002119, allocations: 71.89 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3553, allocations: 176.1 MB / 1.325 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002365/0.3577, allocations: 0.8502 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000225/0.3579, allocations: 55.72 kB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.385e-05/0.358, allocations: 0 / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.695e-05/0.3581, allocations: 11.86 kB / 1.326 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 9.219e-05/0.3582, allocations: 11.88 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 7.261e-05/0.3582, allocations: 23.97 kB / 1.326 GB, free: 1.402 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3584, allocations: 83.78 kB / 1.326 GB, free: 1.32 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3586, allocations: 41.28 kB / 1.326 GB, free: 1.277 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.815e-05/0.3587, allocations: 27.86 kB / 1.326 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.599e-05/0.3587, allocations: 39.66 kB / 1.326 GB, free: 1.211 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.3588, allocations: 8 kB / 1.326 GB, free: 1.203 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.514e-05/0.3588, allocations: 8 kB / 1.326 GB, free: 1.195 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.547e-05/0.3588, allocations: 23.92 kB / 1.326 GB, free: 1.172 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.942e-05/0.3589, allocations: 31.8 kB / 1.326 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.3591, allocations: 103.8 kB / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3591, allocations: 0 / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3591, allocations: 0 / 1.326 GB, free: 1.039 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.3591, allocations: 4 kB / 1.326 GB, free: 1.035 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.0005643/0.3596, allocations: 326 kB / 1.327 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.3597, allocations: 12.03 kB / 1.327 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.921e-05/0.3597, allocations: 38.69 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.3598, allocations: 12.89 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/0.36, allocations: 142.5 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.36, allocations: 8.562 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.604e-05/0.3601, allocations: 8.375 kB / 1.327 GB, free: 444 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3603, allocations: 113.1 kB / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3603, allocations: 0 / 1.327 GB, free: 320 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.3603, allocations: 12 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.3603, allocations: 0 / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.796e-05/0.3604, allocations: 39.98 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006696/0.3611, allocations: 427.6 kB / 1.327 GB, free: 15.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.666e-05/0.3611, allocations: 37.22 kB / 1.327 GB, free: 15.74 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.762e-05/0.3612, allocations: 17.78 kB / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.3612, allocations: 0 / 1.327 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3612, allocations: 38.5 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3612, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002145/0.3614, allocations: 57.58 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.3616, allocations: 81.11 kB / 1.328 GB, free: 15.51 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002257/0.3618, allocations: 191.2 kB / 1.328 GB, free: 15.31 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.3618, allocations: 25.7 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.3619, allocations: 112 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.006e-05/0.3619, allocations: 3.953 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.362, allocations: 21.66 kB / 1.328 GB, free: 15.13 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3621, allocations: 322.8 kB / 1.328 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.039e-05/0.3621, allocations: 4 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.074e-05/0.3622, allocations: 25.95 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.684e-05/0.3622, allocations: 33.66 kB / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3622, allocations: 0 / 1.328 GB, free: 14.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.374e-05/0.3623, allocations: 49.66 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.3623, allocations: 4 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3624, allocations: 7.984 kB / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3624, allocations: 0 / 1.328 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.424e-05/0.3624, allocations: 7.938 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3624, allocations: 12.05 kB / 1.328 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.802e-05/0.3625, allocations: 15.83 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3625, allocations: 4 kB / 1.328 GB, free: 14.63 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.0001031/0.3626, allocations: 113.8 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.3626, allocations: 15.91 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.3627, allocations: 12.7 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.3627, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3627, allocations: 3.938 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.3627, allocations: 3.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.3631, allocations: 437.9 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.3631, allocations: 8.047 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.3631, allocations: 4 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3632, allocations: 3.938 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3632, allocations: 4 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3632, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3632, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.3633, allocations: 85.84 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.3633, allocations: 11.94 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.3633, allocations: 3.938 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.165e-05/0.3633, allocations: 0 / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.424e-05/0.3634, allocations: 12.03 kB / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.3634, allocations: 0 / 1.329 GB, free: 13.83 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001259/0.3635, allocations: 136.3 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3635, allocations: 0 / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001942/0.3637, allocations: 8 kB / 1.329 GB, free: 13.69 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.0004966/0.3642, allocations: 0.6209 MB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.3643, allocations: 12 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3643, allocations: 160 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.3643, allocations: 11.94 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.3645, allocations: 17.98 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.3661, allocations: 1.407 MB / 1.331 GB, free: 11.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.447e-05/0.3662, allocations: 84.14 kB / 1.331 GB, free: 11.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.097e-05/0.3663, allocations: 12.61 kB / 1.331 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.3663, allocations: 27.42 kB / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of SimCode: time 4.81e-07/0.3663, allocations: 0 / 1.331 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03367/0.4, allocations: 2.264 MB / 1.334 GB, free: 9.23 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.75, allocations: 12.38 kB / 1.334 GB, free: 9.227 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: 18.637207032646984]