Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001202, allocations: 196.6 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.221/1.221, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.322/2.322, allocations: 437 MB / 0.7101 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 67.89 kB / 0.8689 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5124/0.5136, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001969/0.5156, allocations: 0.95 MB / 1.018 GB, free: 1.766 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001275/0.5157, allocations: 55.7 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.104e-05/0.5158, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.046e-05/0.5158, allocations: 3.938 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.698e-05/0.5159, allocations: 3.938 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.516, allocations: 23.98 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.902e-05/0.5161, allocations: 79.84 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001366/0.5162, allocations: 57 kB / 1.018 GB, free: 1.539 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 4.872e-05/0.5163, allocations: 31.81 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.733e-05/0.5163, allocations: 39.78 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.5164, allocations: 8 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.5164, allocations: 8 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.944e-05/0.5164, allocations: 15.92 kB / 1.018 GB, free: 1.438 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.295e-05/0.5164, allocations: 47.73 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.5166, allocations: 93.86 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5166, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.855e-06/0.5166, allocations: 0 / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.5166, allocations: 3.938 kB / 1.018 GB, free: 1.297 MB / 0.7637 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.0003855/0.517, allocations: 403.2 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.517, allocations: 12.03 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.696e-05/0.5171, allocations: 38.73 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.609e-05/0.5171, allocations: 16.84 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.5173, allocations: 204.2 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.5173, allocations: 8.562 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.5173, allocations: 4.375 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.5175, allocations: 114.4 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5175, allocations: 4 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5175, allocations: 11.98 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5175, allocations: 0 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.851e-05/0.5176, allocations: 39.98 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.5181, allocations: 468.4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.721e-05/0.5182, allocations: 45.14 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.5182, allocations: 21.78 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.5182, allocations: 0 / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5182, allocations: 34.56 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.984e-06/0.5183, allocations: 4 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.5184, allocations: 61.44 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.5185, allocations: 77.11 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.5186, allocations: 183.2 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.478e-06/0.5186, allocations: 25.7 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.5187, allocations: 112 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.165e-06/0.5187, allocations: 11.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.5187, allocations: 17.97 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.804e-05/0.5188, allocations: 326.8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.611e-05/0.5189, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.5189, allocations: 17.72 kB / 1.02 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.766e-05/0.5189, allocations: 25.66 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5189, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.823e-05/0.519, allocations: 65.59 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.519, allocations: 4 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.519, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.5191, allocations: 7.938 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.5191, allocations: 4 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.5191, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.312e-05/0.5192, allocations: 19.77 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.407e-06/0.5192, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 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 6.504e-05/0.5192, allocations: 113.8 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.5193, allocations: 19.88 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.014e-05/0.5193, allocations: 12.56 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5193, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.5193, allocations: 0 / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5193, allocations: 7.922 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003248/0.5197, allocations: 470.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.5197, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.5197, allocations: 4.172 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5197, allocations: 11.88 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.5197, allocations: 3.984 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.5197, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.5197, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.942e-05/0.5198, allocations: 81.84 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.5199, allocations: 92.91 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.5199, allocations: 7.969 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.052e-05/0.5199, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.5199, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.5199, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.154e-05/0.52, allocations: 140.3 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.52, allocations: 0 / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001812/0.5202, allocations: 8 kB / 1.022 GB, free: 13.61 MB / 0.7794 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.0002918/0.5205, allocations: 0.6248 MB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.117e-05/0.5206, allocations: 12 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.5206, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.07e-05/0.5206, allocations: 15.88 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.5208, allocations: 4.281 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.5218, allocations: 1.427 MB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.5221, allocations: 0.7002 MB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.145e-05/0.5221, allocations: 4.562 kB / 1.024 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.5221, allocations: 27.42 kB / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5221, allocations: 0 / 1.024 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0233/0.5455, allocations: 1.629 MB / 1.026 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.5457, allocations: 217 kB / 1.026 GB, free: 8.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.081, allocations: 0 / 1.026 GB, free: 8.875 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches