Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_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.01029/0.01029, allocations: 99.8 kB / 15.73 MB, free: 6.043 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.001912/0.001912, allocations: 187.6 kB / 16.67 MB, free: 5.977 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.795/2.795, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 68.11 kB / 1.054 GB, free: 7.602 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3597, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003059/0.3628, allocations: 0.8779 MB / 1.208 GB, free: 9.227 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002134/0.363, allocations: 51.72 kB / 1.208 GB, free: 9.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.3631, allocations: 8 kB / 1.208 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.3632, allocations: 11.86 kB / 1.208 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.881e-05/0.3633, allocations: 7.875 kB / 1.208 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 7.367e-05/0.3634, allocations: 31.91 kB / 1.208 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001361/0.3635, allocations: 71.84 kB / 1.208 GB, free: 9.047 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001756/0.3637, allocations: 57.06 kB / 1.208 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.3638, allocations: 39.73 kB / 1.208 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.562e-05/0.3639, allocations: 35.78 kB / 1.208 GB, free: 8.918 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.252e-05/0.3639, allocations: 8 kB / 1.208 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.3639, allocations: 8 kB / 1.208 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.475e-05/0.364, allocations: 15.94 kB / 1.208 GB, free: 8.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.364, allocations: 43.73 kB / 1.209 GB, free: 8.844 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.3642, allocations: 107.8 kB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3642, allocations: 7.938 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3642, allocations: 0 / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3642, allocations: 0 / 1.209 GB, free: 8.73 MB / 0.9669 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.0005291/0.3648, allocations: 399.2 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.3648, allocations: 8.625 kB / 1.209 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.454e-05/0.3649, allocations: 42.75 kB / 1.209 GB, free: 8.23 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.69e-05/0.3649, allocations: 12.84 kB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002462/0.3652, allocations: 200.3 kB / 1.209 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.3652, allocations: 12.56 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3652, allocations: 4.375 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002148/0.3654, allocations: 111.2 kB / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.3655, allocations: 0 / 1.209 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3655, allocations: 4 kB / 1.209 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3655, allocations: 4 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3656, allocations: 47.91 kB / 1.209 GB, free: 7.793 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007463/0.3663, allocations: 472.2 kB / 1.21 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.234e-05/0.3664, allocations: 41.16 kB / 1.21 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.558e-05/0.3665, allocations: 13.78 kB / 1.21 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3665, allocations: 4 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3666, allocations: 38.56 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3666, allocations: 0 / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0002429/0.3668, allocations: 57.53 kB / 1.21 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.3669, allocations: 77.11 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.3671, allocations: 183.1 kB / 1.21 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.513e-05/0.3671, allocations: 29.7 kB / 1.21 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.3672, allocations: 112.2 kB / 1.21 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.3672, allocations: 11.84 kB / 1.21 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.3673, allocations: 17.72 kB / 1.21 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.3674, allocations: 323 kB / 1.211 GB, free: 6.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.3675, allocations: 4 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.3675, allocations: 25.64 kB / 1.211 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.913e-05/0.3676, allocations: 29.66 kB / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3676, allocations: 0 / 1.211 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.512e-05/0.3677, allocations: 61.55 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3677, allocations: 4 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.3677, allocations: 0 / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3677, allocations: 3.984 kB / 1.211 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.3678, allocations: 8 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3678, allocations: 0 / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.3678, allocations: 11.84 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.3678, allocations: 0 / 1.211 GB, free: 6.125 MB / 0.9669 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 8.784e-05/0.3679, allocations: 117.9 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.731e-05/0.368, allocations: 11.84 kB / 1.211 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.368, allocations: 16.55 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.368, allocations: 4 kB / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3681, allocations: 0 / 1.211 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3681, allocations: 3.938 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004004/0.3685, allocations: 478.8 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.3685, allocations: 4 kB / 1.212 GB, free: 5.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.083e-05/0.3685, allocations: 3.984 kB / 1.212 GB, free: 5.43 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3685, allocations: 7.938 kB / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.3685, allocations: 0 / 1.212 GB, free: 5.422 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.3685, allocations: 4 kB / 1.212 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3685, allocations: 3.938 kB / 1.212 GB, free: 5.414 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.608e-05/0.3686, allocations: 85.95 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.3688, allocations: 85.02 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.3688, allocations: 3.938 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.028e-05/0.3688, allocations: 0 / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.3688, allocations: 7.984 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.3688, allocations: 4 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000106/0.369, allocations: 127.2 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.41e-07/0.369, allocations: 0 / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002062/0.3692, allocations: 11.97 kB / 1.212 GB, free: 5.055 MB / 0.9669 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.0004007/0.3696, allocations: 0.6248 MB / 1.212 GB, free: 4.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000103/0.3697, allocations: 23.92 kB / 1.212 GB, free: 4.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.3697, allocations: 4.156 kB / 1.212 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/0.3697, allocations: 7.938 kB / 1.212 GB, free: 4.359 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001732/0.3699, allocations: 8 kB / 1.212 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3713, allocations: 1.401 MB / 1.214 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.3716, allocations: 0.7079 MB / 1.215 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.427e-05/0.3717, allocations: 4.562 kB / 1.215 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.154e-05/0.3718, allocations: 27.42 kB / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3718, allocations: 0 / 1.215 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.3908, allocations: 1.767 MB / 1.216 GB, free: 444 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.88, allocations: 5.734 kB / 1.216 GB, free: 444 kB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches