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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001503/0.001503, allocations: 113.2 kB / 15.99 MB, free: 5.91 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.00183/0.00183, allocations: 192.9 kB / 16.91 MB, free: 5.754 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.305/2.305, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 66.91 kB / 0.8127 GB, free: 32.45 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2657, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002285/0.268, allocations: 0.9368 MB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001641/0.2682, allocations: 51.77 kB / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.756e-05/0.2683, allocations: 0 / 0.9507 GB, free: 8.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.263e-05/0.2683, allocations: 3.938 kB / 0.9507 GB, free: 8.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.2685, allocations: 15.92 kB / 0.9508 GB, free: 8.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.597e-05/0.2685, allocations: 19.98 kB / 0.9508 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.2687, allocations: 79.78 kB / 0.9509 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001644/0.2688, allocations: 57.08 kB / 0.9509 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.2689, allocations: 47.73 kB / 0.951 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.82e-05/0.269, allocations: 31.78 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.269, allocations: 8 kB / 0.951 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.269, allocations: 8 kB / 0.951 GB, free: 7.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.395e-05/0.2691, allocations: 23.92 kB / 0.951 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.147e-05/0.2691, allocations: 35.75 kB / 0.9511 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001115/0.2692, allocations: 84 kB / 0.9511 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2693, allocations: 0 / 0.9511 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.943e-06/0.2693, allocations: 0 / 0.9511 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.022e-06/0.2693, allocations: 0 / 0.9511 GB, free: 7.836 MB / 0.7325 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.0004543/0.2697, allocations: 399.2 kB / 0.9515 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2698, allocations: 8.031 kB / 0.9515 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.2698, allocations: 12.84 kB / 0.9515 GB, free: 7.375 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.2701, allocations: 200.2 kB / 0.9517 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2701, allocations: 8.562 kB / 0.9517 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.2701, allocations: 20.3 kB / 0.9518 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.2703, allocations: 113.3 kB / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2703, allocations: 0 / 0.9519 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.2703, allocations: 4 kB / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.2703, allocations: 0 / 0.9519 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.2704, allocations: 47.98 kB / 0.9519 GB, free: 6.941 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006125/0.2711, allocations: 468.3 kB / 0.9524 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.336e-05/0.2711, allocations: 57.14 kB / 0.9524 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.2712, allocations: 25.78 kB / 0.9524 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2712, allocations: 0 / 0.9524 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.2712, allocations: 42.55 kB / 0.9525 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2712, allocations: 3.938 kB / 0.9525 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0001847/0.2714, allocations: 61.61 kB / 0.9525 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.45e-05/0.2715, allocations: 81.05 kB / 0.9526 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.2716, allocations: 169 kB / 0.9528 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/0.2717, allocations: 29.7 kB / 0.9528 GB, free: 5.891 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.2717, allocations: 108.4 kB / 0.9529 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.2718, allocations: 11.84 kB / 0.9529 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.2718, allocations: 29.56 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.861e-05/0.2719, allocations: 322.8 kB / 0.9533 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.2719, allocations: 8 kB / 0.9533 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.922e-05/0.272, allocations: 25.7 kB / 0.9533 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.272, allocations: 33.72 kB / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.272, allocations: 0 / 0.9533 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001014/0.2721, allocations: 73.53 kB / 0.9534 GB, free: 5.254 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.2722, allocations: 4 kB / 0.9534 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.2722, allocations: 4 kB / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2722, allocations: 0 / 0.9534 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.213e-05/0.2723, allocations: 11.98 kB / 0.9534 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2723, allocations: 0 / 0.9534 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.2723, allocations: 7.906 kB / 0.9534 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.2723, allocations: 3.938 kB / 0.9534 GB, free: 5.223 MB / 0.7325 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 8.354e-05/0.2724, allocations: 121.8 kB / 0.9535 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.2725, allocations: 15.84 kB / 0.9536 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.895e-05/0.2725, allocations: 16.55 kB / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2725, allocations: 0 / 0.9536 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2725, allocations: 8.125 kB / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2725, allocations: 0 / 0.9536 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004343/0.273, allocations: 0.5005 MB / 0.9541 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.273, allocations: 8.031 kB / 0.9541 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.273, allocations: 7.984 kB / 0.9541 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.273, allocations: 3.984 kB / 0.9541 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.2731, allocations: 7.938 kB / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2731, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2731, allocations: 0 / 0.9541 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.2732, allocations: 111.5 kB / 0.9542 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.428e-05/0.2732, allocations: 89 kB / 0.9543 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.2733, allocations: 7.938 kB / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.2733, allocations: 0 / 0.9543 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.2733, allocations: 8 kB / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.2733, allocations: 0 / 0.9543 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.895e-05/0.2734, allocations: 129.6 kB / 0.9544 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2734, allocations: 4 kB / 0.9544 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000204/0.2736, allocations: 12 kB / 0.9544 GB, free: 4.062 MB / 0.7325 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.0001156/0.2738, allocations: 107.2 kB / 0.9545 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001014/0.2739, allocations: 31.94 kB / 0.9546 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2739, allocations: 0 / 0.9546 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.367e-05/0.2739, allocations: 15.92 kB / 0.9546 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.2741, allocations: 9.797 kB / 0.9546 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003824/0.2745, allocations: 270 kB / 0.9549 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.2747, allocations: 0.7002 MB / 0.9555 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.2748, allocations: 11.44 kB / 0.9555 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of SimCode: time 3.61e-07/0.2748, allocations: 0 / 0.9555 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of Templates: time 0.002456/0.2772, allocations: 0.9926 MB / 0.9565 GB, free: 1.855 MB / 0.7325 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/jenkins1/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