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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001807/0.001807, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001697/0.001697, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.511/1.511, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.023/3.023, allocations: 472.6 MB / 0.7448 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 64.33 kB / 0.9116 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.4136, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.003379/0.417, allocations: 0.9291 MB / 1.069 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.4173, allocations: 55.72 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.4174, allocations: 0 / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.934e-05/0.4175, allocations: 7.922 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001426/0.4177, allocations: 7.938 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.718e-05/0.4178, allocations: 19.98 kB / 1.069 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001522/0.4179, allocations: 87.72 kB / 1.069 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.4182, allocations: 57.06 kB / 1.069 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.4183, allocations: 31.8 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.858e-05/0.4184, allocations: 43.78 kB / 1.069 GB, free: 9.535 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/0.4184, allocations: 8 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.406e-05/0.4184, allocations: 8 kB / 1.069 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.4184, allocations: 15.94 kB / 1.069 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.786e-05/0.4185, allocations: 51.61 kB / 1.069 GB, free: 9.453 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.4187, allocations: 95.88 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4187, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.335e-06/0.4187, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.4187, allocations: 0 / 1.069 GB, free: 9.359 MB / 0.8262 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.0005036/0.4192, allocations: 395.3 kB / 1.069 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.4193, allocations: 16.03 kB / 1.069 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.466e-05/0.4193, allocations: 12.75 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.4196, allocations: 197 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.4196, allocations: 8.562 kB / 1.07 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.4196, allocations: 12.31 kB / 1.07 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.4198, allocations: 103.5 kB / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4198, allocations: 0 / 1.07 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.374e-05/0.4199, allocations: 4 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.4199, allocations: 8 kB / 1.07 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.673e-05/0.42, allocations: 43.98 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.4206, allocations: 480.2 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.4207, allocations: 57.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.4208, allocations: 25.78 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.4208, allocations: 3.938 kB / 1.07 GB, free: 7.844 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.4208, allocations: 38.53 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.332e-06/0.4208, allocations: 4 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0002112/0.421, allocations: 69.55 kB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.795e-05/0.4211, allocations: 77.11 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.4213, allocations: 175.2 kB / 1.071 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4213, allocations: 25.7 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.894e-05/0.4214, allocations: 104 kB / 1.071 GB, free: 7.301 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.4214, allocations: 15.75 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/0.4215, allocations: 17.97 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.4216, allocations: 330.8 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.4216, allocations: 8 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.621e-05/0.4217, allocations: 29.7 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.115e-05/0.4217, allocations: 33.66 kB / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.4218, allocations: 0 / 1.071 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001095/0.4219, allocations: 69.59 kB / 1.071 GB, free: 6.773 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.4219, allocations: 4 kB / 1.071 GB, free: 6.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.4219, allocations: 4 kB / 1.071 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4219, allocations: 3.938 kB / 1.071 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.396e-05/0.422, allocations: 15.92 kB / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.422, allocations: 0 / 1.071 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.4221, allocations: 7.906 kB / 1.071 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.4221, allocations: 4 kB / 1.071 GB, free: 6.734 MB / 0.8262 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 0.0001001/0.4222, allocations: 118 kB / 1.072 GB, free: 6.609 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.4222, allocations: 7.906 kB / 1.072 GB, free: 6.602 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.4223, allocations: 20.48 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.4223, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.4223, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4223, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004958/0.4228, allocations: 0.512 MB / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.4228, allocations: 0 / 1.072 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.4229, allocations: 12.11 kB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4229, allocations: 4 kB / 1.072 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.4229, allocations: 3.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4229, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4229, allocations: 0 / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.423, allocations: 103.5 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.401e-05/0.4231, allocations: 93 kB / 1.072 GB, free: 5.734 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.4231, allocations: 3.938 kB / 1.072 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.951e-05/0.4231, allocations: 4 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.4232, allocations: 0 / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.4232, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.4233, allocations: 124.9 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4233, allocations: 0 / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002029/0.4235, allocations: 15.91 kB / 1.072 GB, free: 5.586 MB / 0.8262 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.0001397/0.4236, allocations: 109.1 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.4238, allocations: 28.06 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4238, allocations: 0 / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.598e-05/0.4238, allocations: 19.92 kB / 1.073 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.424, allocations: 8 kB / 1.073 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.4244, allocations: 244.6 kB / 1.073 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4246, allocations: 0.7041 MB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.274e-05/0.4247, allocations: 4.562 kB / 1.073 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.059e-05/0.4247, allocations: 11.44 kB / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.4247, allocations: 0 / 1.073 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of Templates: time 0.002882/0.4276, allocations: 0.5083 MB / 1.074 GB, free: 3.883 MB / 0.8262 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 -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/jenkins/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