Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 112.8 kB / 16.41 MB, free: 6.484 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.001923/0.001923, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.313/1.313, 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.1-master/package.mo): time 2.571/2.571, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 59.91 kB / 1.055 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8276/0.8289, allocations: 157.4 MB / 1.208 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.00209/0.8311, allocations: 0.8737 MB / 1.209 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001834/0.8313, allocations: 55.72 kB / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.823e-05/0.8314, allocations: 0 / 1.209 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.961e-05/0.8314, allocations: 11.86 kB / 1.209 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.024e-05/0.8315, allocations: 11.88 kB / 1.209 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.879e-05/0.8316, allocations: 27.97 kB / 1.209 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.8318, allocations: 75.78 kB / 1.209 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.8319, allocations: 61.05 kB / 1.21 GB, free: 12.7 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.007e-05/0.832, allocations: 31.8 kB / 1.21 GB, free: 12.67 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.937e-05/0.8321, allocations: 43.72 kB / 1.21 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.218e-05/0.8321, allocations: 8 kB / 1.21 GB, free: 12.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.821e-05/0.8322, allocations: 8 kB / 1.21 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.8322, allocations: 11.94 kB / 1.21 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.8322, allocations: 47.73 kB / 1.21 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.8324, allocations: 105.4 kB / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8324, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.767e-06/0.8324, allocations: 0 / 1.21 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.8324, allocations: 7.875 kB / 1.21 GB, free: 12.45 MB / 0.9356 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.0004869/0.8329, allocations: 395.3 kB / 1.21 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.833, allocations: 12.03 kB / 1.21 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.833, allocations: 12.75 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.8332, allocations: 198.3 kB / 1.21 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.8333, allocations: 12.56 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/0.8333, allocations: 12.38 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.8335, allocations: 111.4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.8335, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.8335, allocations: 0 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.8335, allocations: 4 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.8336, allocations: 43.92 kB / 1.211 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005324/0.8341, allocations: 476.2 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.967e-05/0.8342, allocations: 29.28 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.589e-05/0.8343, allocations: 25.7 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.354e-06/0.8343, allocations: 0 / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.8343, allocations: 38.5 kB / 1.211 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8343, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001675/0.8345, allocations: 49.55 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.8345, allocations: 77.11 kB / 1.211 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.8347, allocations: 187.2 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.8347, allocations: 25.7 kB / 1.211 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.428e-05/0.8348, allocations: 112.2 kB / 1.212 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.8348, allocations: 7.906 kB / 1.212 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.8348, allocations: 25.61 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.327e-05/0.8349, allocations: 318.8 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.998e-05/0.835, allocations: 11.98 kB / 1.212 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.891e-05/0.835, allocations: 13.72 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.187e-05/0.835, allocations: 37.66 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.835, allocations: 4 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.071e-05/0.8351, allocations: 53.59 kB / 1.212 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.8351, allocations: 8 kB / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.8352, allocations: 0 / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.8352, allocations: 0 / 1.212 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.068e-05/0.8352, allocations: 8.156 kB / 1.212 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.8353, allocations: 4 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.8353, allocations: 19.72 kB / 1.212 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.8353, allocations: 8.062 kB / 1.212 GB, free: 9.879 MB / 0.9356 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 7.234e-05/0.8354, allocations: 113.8 kB / 1.212 GB, free: 9.758 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.707e-05/0.8355, allocations: 11.89 kB / 1.212 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.492e-05/0.8355, allocations: 12.56 kB / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.8355, allocations: 0 / 1.212 GB, free: 9.734 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.8355, allocations: 3.938 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.8355, allocations: 3.938 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.8359, allocations: 478.9 kB / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.8359, allocations: 0 / 1.213 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.292e-05/0.8359, allocations: 7.984 kB / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.8359, allocations: 0 / 1.213 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.8359, allocations: 3.938 kB / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.8359, allocations: 0 / 1.213 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.8359, allocations: 4 kB / 1.213 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.319e-05/0.836, allocations: 85.8 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.8361, allocations: 93 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8361, allocations: 3.938 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.535e-05/0.8361, allocations: 4 kB / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.8362, allocations: 0 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-06/0.8362, allocations: 0 / 1.213 GB, free: 8.957 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.00011/0.8363, allocations: 135.2 kB / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8363, allocations: 0 / 1.213 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001947/0.8365, allocations: 16.03 kB / 1.213 GB, free: 8.809 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.0001073/0.8366, allocations: 95.25 kB / 1.213 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.448e-05/0.8367, allocations: 19.94 kB / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8367, allocations: 0 / 1.213 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.054e-05/0.8367, allocations: 4 kB / 1.213 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.8369, allocations: 14.33 kB / 1.213 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003075/0.8372, allocations: 208.6 kB / 1.213 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.8374, allocations: 0.7002 MB / 1.214 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.8375, allocations: 15.38 kB / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.8375, allocations: 0 / 1.214 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of Templates: time 0.002306/0.8398, allocations: 0.9964 MB / 1.215 GB, free: 6.691 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches