Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.000944/0.0009498, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001034/0.001034, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.692/2.692, allocations: 390.9 MB / 0.666 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003269/0.000327, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9245/0.9249, allocations: 142.4 MB / 0.9544 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.001209/0.9261, allocations: 0.5518 MB / 0.955 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001481/0.9263, allocations: 59.16 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.9264, allocations: 1.469 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.529e-05/0.9264, allocations: 3.938 kB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001089/0.9265, allocations: 13.39 kB / 0.9551 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.297e-05/0.9266, allocations: 16.2 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.9267, allocations: 72.31 kB / 0.9551 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.9269, allocations: 42.48 kB / 0.9552 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.112e-05/0.927, allocations: 24.88 kB / 0.9552 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.279e-05/0.9271, allocations: 33.88 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.9271, allocations: 2.031 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.064e-05/0.9271, allocations: 2.219 kB / 0.9552 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.9271, allocations: 6.406 kB / 0.9552 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.9272, allocations: 41.73 kB / 0.9553 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.659e-05/0.9273, allocations: 72.11 kB / 0.9554 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9273, allocations: 4 kB / 0.9554 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.134e-06/0.9273, allocations: 3.938 kB / 0.9554 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.9273, allocations: 0 / 0.9554 GB, free: 6.965 MB / 0.7169 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.0004203/0.9277, allocations: 379.2 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.9278, allocations: 9.094 kB / 0.9557 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.9278, allocations: 21.86 kB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.9281, allocations: 196.2 kB / 0.9559 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.9281, allocations: 8.062 kB / 0.9559 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.9281, allocations: 6.406 kB / 0.956 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.9283, allocations: 106.6 kB / 0.9561 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.9283, allocations: 0 / 0.9561 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.9284, allocations: 9.156 kB / 0.9561 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9284, allocations: 3.156 kB / 0.9561 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.686e-05/0.9285, allocations: 43.88 kB / 0.9561 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.9291, allocations: 469 kB / 0.9566 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.797e-05/0.9292, allocations: 51.17 kB / 0.9566 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.886e-05/0.9292, allocations: 29.69 kB / 0.9566 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.9293, allocations: 5.188 kB / 0.9566 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.9293, allocations: 39.56 kB / 0.9567 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.9293, allocations: 3.938 kB / 0.9567 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002287/0.9295, allocations: 71.34 kB / 0.9567 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.9296, allocations: 78.2 kB / 0.9568 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.9298, allocations: 175 kB / 0.957 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.909e-06/0.9298, allocations: 25.7 kB / 0.957 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.9298, allocations: 108.6 kB / 0.9571 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.9299, allocations: 13.94 kB / 0.9571 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.9299, allocations: 5.344 kB / 0.9571 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.93, allocations: 321.1 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.361e-05/0.93, allocations: 8.875 kB / 0.9575 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.542e-05/0.93, allocations: 20.5 kB / 0.9575 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.232e-05/0.9301, allocations: 14.42 kB / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9301, allocations: 0 / 0.9575 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.816e-05/0.9302, allocations: 71.62 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.9302, allocations: 5.906 kB / 0.9576 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.9302, allocations: 4 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.9302, allocations: 1.125 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.466e-05/0.9303, allocations: 7.812 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9303, allocations: 1.094 kB / 0.9576 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.187e-05/0.9304, allocations: 9.969 kB / 0.9576 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.9304, allocations: 6.016 kB / 0.9576 GB, free: 4.754 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.537e-05/0.9304, allocations: 121.7 kB / 0.9577 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.9305, allocations: 8.844 kB / 0.9577 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.9305, allocations: 12 kB / 0.9577 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.9305, allocations: 5.344 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9305, allocations: 1.062 kB / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9305, allocations: 96 / 0.9577 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003413/0.9309, allocations: 0.503 MB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.9309, allocations: 8.922 kB / 0.9582 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.9309, allocations: 9.5 kB / 0.9582 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.9309, allocations: 6 kB / 0.9582 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.931, allocations: 4.938 kB / 0.9582 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.931, allocations: 6.078 kB / 0.9583 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.931, allocations: 0.9062 kB / 0.9583 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001022/0.9311, allocations: 102.2 kB / 0.9584 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.9311, allocations: 94.28 kB / 0.9584 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.9312, allocations: 5.375 kB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.9312, allocations: 1.219 kB / 0.9584 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.975e-05/0.9312, allocations: 9.438 kB / 0.9585 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.9312, allocations: 2.781 kB / 0.9585 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.811e-05/0.9313, allocations: 125.1 kB / 0.9586 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9313, allocations: 1.281 kB / 0.9586 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001928/0.9315, allocations: 12.88 kB / 0.9586 GB, free: 3.73 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001094/0.9316, allocations: 107.5 kB / 0.9587 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.655e-05/0.9317, allocations: 32.23 kB / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.9317, allocations: 0 / 0.9587 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.974e-05/0.9318, allocations: 16.53 kB / 0.9587 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.932, allocations: 13.05 kB / 0.9588 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.9324, allocations: 227.8 kB / 0.959 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001335/0.9325, allocations: 0.7028 MB / 0.9597 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.9325, allocations: 10.17 kB / 0.9597 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.9326, allocations: 11.47 kB / 0.9597 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.9326, allocations: 0 / 0.9597 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of Templates: time 0.002684/0.9353, allocations: 476.1 kB / 0.9601 GB, free: 2.43 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches