Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 104.3 kB / 16.35 MB, free: 5.824 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.001356/0.001356, allocations: 190.7 kB / 17.29 MB, free: 5.48 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.487/1.487, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.375/2.375, allocations: 390.3 MB / 0.6655 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 62.83 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3197, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002459/0.3222, allocations: 0.8899 MB / 0.952 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.3224, allocations: 47.78 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.232e-05/0.3224, allocations: 4 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.874e-05/0.3225, allocations: 15.8 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.639e-05/0.3226, allocations: 7.875 kB / 0.9521 GB, free: 7.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 7.127e-05/0.3227, allocations: 27.97 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.3228, allocations: 75.78 kB / 0.9522 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001723/0.323, allocations: 53.08 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.338e-05/0.323, allocations: 39.8 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.3231, allocations: 31.8 kB / 0.9523 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.3231, allocations: 8 kB / 0.9523 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.3231, allocations: 8 kB / 0.9523 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3232, allocations: 19.92 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.3232, allocations: 43.67 kB / 0.9523 GB, free: 6.816 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001416/0.3234, allocations: 95.55 kB / 0.9524 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3234, allocations: 8 kB / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3234, allocations: 0 / 0.9524 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.125e-05/0.3234, allocations: 0 / 0.9524 GB, free: 6.715 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.0004832/0.3239, allocations: 399.2 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.324, allocations: 8.031 kB / 0.9528 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.761e-05/0.324, allocations: 20.83 kB / 0.9529 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.3242, allocations: 204.2 kB / 0.9531 GB, free: 6.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.3243, allocations: 8.562 kB / 0.9531 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.3243, allocations: 4.375 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001791/0.3245, allocations: 109.6 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.3245, allocations: 7.922 kB / 0.9532 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3245, allocations: 4 kB / 0.9532 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.79e-06/0.3245, allocations: 4 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.133e-05/0.3246, allocations: 47.91 kB / 0.9532 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.3252, allocations: 464.3 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.976e-05/0.3252, allocations: 45.16 kB / 0.9537 GB, free: 5.246 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.3253, allocations: 17.77 kB / 0.9537 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.3253, allocations: 4 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.3253, allocations: 34.56 kB / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3253, allocations: 0 / 0.9538 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001747/0.3255, allocations: 61.45 kB / 0.9538 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.3256, allocations: 81.05 kB / 0.9539 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.3257, allocations: 183.2 kB / 0.9541 GB, free: 4.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3258, allocations: 29.7 kB / 0.9541 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.878e-05/0.3258, allocations: 112 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.246e-06/0.3259, allocations: 3.906 kB / 0.9542 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.3259, allocations: 17.72 kB / 0.9542 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.326, allocations: 331 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.661e-05/0.326, allocations: 4 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.208e-05/0.3261, allocations: 21.7 kB / 0.9546 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.743e-05/0.3261, allocations: 21.72 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3261, allocations: 0 / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.585e-05/0.3262, allocations: 65.53 kB / 0.9547 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.3262, allocations: 8.062 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3262, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3263, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.37e-05/0.3263, allocations: 8.219 kB / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.3263, allocations: 0 / 0.9547 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.3264, allocations: 19.72 kB / 0.9547 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.3264, allocations: 0 / 0.9547 GB, free: 4.148 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.634e-05/0.3264, allocations: 119.8 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.248e-05/0.3265, allocations: 11.81 kB / 0.9548 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.3265, allocations: 20.55 kB / 0.9548 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.3265, allocations: 4 kB / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3265, allocations: 0 / 0.9548 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3266, allocations: 3.938 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000379/0.3269, allocations: 470.8 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.327, allocations: 4 kB / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.327, allocations: 0 / 0.9553 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.327, allocations: 4.062 kB / 0.9553 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.327, allocations: 7.938 kB / 0.9553 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.327, allocations: 3.984 kB / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.327, allocations: 0 / 0.9553 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.731e-05/0.3271, allocations: 85.89 kB / 0.9554 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.3272, allocations: 92.91 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3272, allocations: 3.938 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.3272, allocations: 11.97 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.3272, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.3272, allocations: 4 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.498e-05/0.3273, allocations: 128.3 kB / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3274, allocations: 0 / 0.9556 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001842/0.3275, allocations: 11.94 kB / 0.9556 GB, free: 3.074 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.000123/0.3277, allocations: 103.2 kB / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.3278, allocations: 16 kB / 0.9557 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3278, allocations: 4 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.325e-05/0.3278, allocations: 11.94 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001578/0.328, allocations: 8.969 kB / 0.9558 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.3283, allocations: 182.8 kB / 0.9559 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3286, allocations: 0.7043 MB / 0.9566 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.426e-05/0.3286, allocations: 8.547 kB / 0.9566 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.3286, allocations: 11.44 kB / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3286, allocations: 0 / 0.9567 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of Templates: time 0.002494/0.3311, allocations: 0.4966 MB / 0.9571 GB, free: 1.473 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches