Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 118.7 kB / 16.37 MB, free: 5.984 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.001155/0.001155, allocations: 193.5 kB / 17.31 MB, free: 5.602 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.368/1.368, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.511/2.511, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.09 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3231, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002147/0.3253, allocations: 0.8953 MB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001359/0.3255, allocations: 55.72 kB / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.517e-05/0.3256, allocations: 0 / 1.028 GB, free: 1.148 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.447e-05/0.3256, allocations: 15.86 kB / 1.028 GB, free: 1.133 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.3257, allocations: 11.81 kB / 1.028 GB, free: 1.121 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.095e-05/0.3258, allocations: 23.97 kB / 1.028 GB, free: 1.098 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.3259, allocations: 79.83 kB / 1.028 GB, free: 1.02 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.326, allocations: 49.09 kB / 1.028 GB, free: 0.9688 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.163e-05/0.3261, allocations: 39.8 kB / 1.028 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.3262, allocations: 43.72 kB / 1.028 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.3262, allocations: 8 kB / 1.028 GB, free: 0.8789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.542e-05/0.3262, allocations: 8 kB / 1.028 GB, free: 0.8711 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.394e-05/0.3263, allocations: 23.91 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.3263, allocations: 43.69 kB / 1.028 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000117/0.3264, allocations: 103.5 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3264, allocations: 0 / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3265, allocations: 0 / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3265, allocations: 0 / 1.028 GB, free: 0.7031 MB / 0.795 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.0004479/0.3269, allocations: 399.3 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.416e-05/0.327, allocations: 8.031 kB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.327, allocations: 12.75 kB / 1.028 GB, free: 248 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.3272, allocations: 200.3 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.3272, allocations: 8.562 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.3273, allocations: 8.422 kB / 1.029 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.3274, allocations: 108.6 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3275, allocations: 0 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3275, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3275, allocations: 4 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.3276, allocations: 51.91 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005629/0.3281, allocations: 472.3 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.753e-05/0.3282, allocations: 53.22 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.3283, allocations: 29.7 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.3283, allocations: 4 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.3283, allocations: 30.56 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 1.293e-06/0.3283, allocations: 4 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0001869/0.3285, allocations: 73.53 kB / 1.029 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.3286, allocations: 77.11 kB / 1.03 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.3288, allocations: 168.8 kB / 1.03 GB, free: 14.8 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3288, allocations: 25.7 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.465e-05/0.3289, allocations: 107.9 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.3289, allocations: 15.75 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/0.3289, allocations: 25.95 kB / 1.03 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.329, allocations: 322.8 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.3291, allocations: 11.98 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/0.3291, allocations: 21.72 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.473e-05/0.3292, allocations: 37.64 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.3292, allocations: 0 / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.148e-05/0.3293, allocations: 73.52 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3293, allocations: 8 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3293, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3293, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.762e-05/0.3294, allocations: 8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3294, allocations: 0 / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.36e-05/0.3294, allocations: 7.906 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.698e-06/0.3294, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 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 (6): * Single equations (assignments): 6 * 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 7.849e-05/0.3295, allocations: 129.7 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.348e-05/0.3296, allocations: 11.89 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.544e-05/0.3296, allocations: 12.69 kB / 1.031 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3296, allocations: 4 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3296, allocations: 4.219 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3296, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.33, allocations: 0.5197 MB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.33, allocations: 0 / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.3301, allocations: 8.125 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3301, allocations: 4 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.3301, allocations: 3.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3301, allocations: 4 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3301, allocations: 3.938 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.541e-05/0.3302, allocations: 99.61 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.296e-05/0.3303, allocations: 93 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.3303, allocations: 3.938 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.858e-05/0.3303, allocations: 4 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.3304, allocations: 0 / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.3304, allocations: 7.984 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.023e-05/0.3304, allocations: 124 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.523e-06/0.3305, allocations: 0 / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001997/0.3307, allocations: 15.94 kB / 1.031 GB, free: 12.93 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.000105/0.3308, allocations: 103.2 kB / 1.031 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.3309, allocations: 31.92 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3309, allocations: 0 / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.532e-05/0.3309, allocations: 12 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.3312, allocations: 11.91 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004047/0.3316, allocations: 207.7 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.3319, allocations: 0.6963 MB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.956e-05/0.3319, allocations: 16.41 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.332, allocations: 11.44 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/0.332, allocations: 4 kB / 1.032 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of Templates: time 0.002528/0.3345, allocations: 0.5006 MB / 1.033 GB, free: 11.28 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches