Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001438/0.001438, allocations: 106.3 kB / 16.27 MB, free: 5.969 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.001613/0.001613, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.2 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.259/2.259, allocations: 390.2 MB / 0.6653 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 62.14 kB / 0.8132 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2765, allocations: 140.4 MB / 0.9503 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002425/0.279, allocations: 0.8836 MB / 0.9511 GB, free: 7.973 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001592/0.2792, allocations: 55.72 kB / 0.9512 GB, free: 7.918 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.2793, allocations: 4 kB / 0.9512 GB, free: 7.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.268e-05/0.2793, allocations: 11.86 kB / 0.9512 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-05/0.2795, allocations: 15.81 kB / 0.9512 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.077e-05/0.2796, allocations: 23.97 kB / 0.9512 GB, free: 7.863 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.2797, allocations: 75.84 kB / 0.9513 GB, free: 7.789 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2799, allocations: 53.08 kB / 0.9514 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.28, allocations: 43.72 kB / 0.9514 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.2801, allocations: 35.78 kB / 0.9514 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.419e-05/0.2801, allocations: 8 kB / 0.9514 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.698e-05/0.2802, allocations: 8 kB / 0.9515 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.2802, allocations: 19.92 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.176e-05/0.2803, allocations: 35.75 kB / 0.9515 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.2804, allocations: 99.88 kB / 0.9516 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2804, allocations: 4 kB / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2804, allocations: 0 / 0.9516 GB, free: 7.484 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2804, allocations: 0 / 0.9516 GB, free: 7.484 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.0004303/0.2809, allocations: 399.2 kB / 0.952 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.2809, allocations: 12.03 kB / 0.952 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.281, allocations: 8.844 kB / 0.952 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.2812, allocations: 204.2 kB / 0.9522 GB, free: 6.785 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.2812, allocations: 8.562 kB / 0.9522 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.2812, allocations: 8.375 kB / 0.9522 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.2814, allocations: 112.8 kB / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2814, allocations: 0 / 0.9523 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2814, allocations: 8 kB / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2814, allocations: 0 / 0.9523 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.19e-05/0.2815, allocations: 39.98 kB / 0.9524 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005933/0.2821, allocations: 472.3 kB / 0.9528 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.2822, allocations: 41.09 kB / 0.9529 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.142e-05/0.2822, allocations: 17.84 kB / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.2823, allocations: 0 / 0.9529 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.2823, allocations: 42.5 kB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2823, allocations: 224 / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001762/0.2825, allocations: 61.44 kB / 0.953 GB, free: 5.887 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.2825, allocations: 84.98 kB / 0.9531 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2827, allocations: 183.2 kB / 0.9532 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.128e-05/0.2827, allocations: 25.7 kB / 0.9533 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.2828, allocations: 108.3 kB / 0.9534 GB, free: 5.457 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.2828, allocations: 11.91 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.2829, allocations: 17.72 kB / 0.9534 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.283, allocations: 322.8 kB / 0.9537 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.283, allocations: 4 kB / 0.9537 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/0.283, allocations: 17.72 kB / 0.9537 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.171e-05/0.2831, allocations: 29.7 kB / 0.9537 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2831, allocations: 4 kB / 0.9537 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.015e-05/0.2832, allocations: 57.55 kB / 0.9538 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2832, allocations: 4 kB / 0.9538 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.2832, allocations: 4 kB / 0.9538 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.2832, allocations: 0 / 0.9538 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.2833, allocations: 7.984 kB / 0.9538 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.2833, allocations: 0 / 0.9538 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.904e-05/0.2834, allocations: 15.78 kB / 0.9538 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.2834, allocations: 3.938 kB / 0.9538 GB, free: 4.934 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 (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.752e-05/0.2835, allocations: 117.9 kB / 0.9539 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.718e-05/0.2835, allocations: 15.81 kB / 0.954 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.2835, allocations: 20.55 kB / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.2835, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2836, allocations: 0 / 0.954 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.2836, allocations: 3.938 kB / 0.954 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.284, allocations: 474.8 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.284, allocations: 0 / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.485e-05/0.284, allocations: 7.984 kB / 0.9544 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.284, allocations: 0 / 0.9544 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.284, allocations: 3.938 kB / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.284, allocations: 0 / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.284, allocations: 0 / 0.9545 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.2842, allocations: 85.91 kB / 0.9545 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.772e-05/0.2842, allocations: 93 kB / 0.9546 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.2843, allocations: 3.938 kB / 0.9546 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.503e-05/0.2843, allocations: 3.984 kB / 0.9546 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.2843, allocations: 7.938 kB / 0.9546 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.2843, allocations: 7.984 kB / 0.9546 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.756e-05/0.2844, allocations: 132.3 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2844, allocations: 0 / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001959/0.2846, allocations: 11.94 kB / 0.9548 GB, free: 3.855 MB / 0.7325 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.0001204/0.2848, allocations: 105.5 kB / 0.9549 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.669e-05/0.2849, allocations: 27.92 kB / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.2849, allocations: 0 / 0.9549 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.2849, allocations: 8 kB / 0.9549 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.2851, allocations: 8 kB / 0.9549 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003663/0.2854, allocations: 208.7 kB / 0.9551 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.2857, allocations: 0.7002 MB / 0.9558 GB, free: 2.738 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.2857, allocations: 11.44 kB / 0.9558 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.2857, allocations: 0 / 0.9558 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of Templates: time 0.0024/0.2881, allocations: 0.9846 MB / 0.9568 GB, free: 1.738 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches