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.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.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.001289/0.001289, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001292/0.001293, allocations: 198 kB / 17.3 MB, free: 5.883 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.477/1.477, allocations: 222.9 MB / 241 MB, free: 15.16 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.283/2.283, allocations: 390.3 MB / 0.6655 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 70.08 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2927, allocations: 140.4 MB / 0.9511 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002394/0.2951, allocations: 0.8793 MB / 0.952 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001571/0.2953, allocations: 55.72 kB / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.552e-05/0.2954, allocations: 0 / 0.952 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.604e-05/0.2955, allocations: 7.875 kB / 0.952 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/0.2956, allocations: 11.88 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 9.698e-05/0.2957, allocations: 31.91 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.2958, allocations: 75.83 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/0.2961, allocations: 49.09 kB / 0.9522 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.435e-05/0.2962, allocations: 31.8 kB / 0.9522 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.2963, allocations: 43.72 kB / 0.9523 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.2963, allocations: 8 kB / 0.9523 GB, free: 6.812 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.811e-05/0.2964, allocations: 11.94 kB / 0.9523 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.828e-05/0.2964, allocations: 19.92 kB / 0.9523 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.552e-05/0.2965, allocations: 39.75 kB / 0.9524 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.2967, allocations: 107.5 kB / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.2967, allocations: 0 / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2967, allocations: 0 / 0.9525 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2967, allocations: 0 / 0.9525 GB, free: 6.637 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.0005871/0.2973, allocations: 403.2 kB / 0.9528 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.2974, allocations: 8.031 kB / 0.9528 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.2974, allocations: 8.844 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003163/0.2977, allocations: 206 kB / 0.953 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.2978, allocations: 8.5 kB / 0.9531 GB, free: 5.93 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.2978, allocations: 12.38 kB / 0.9531 GB, free: 5.918 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/0.298, allocations: 109.4 kB / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2981, allocations: 0 / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.2981, allocations: 0 / 0.9532 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2981, allocations: 4 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.2982, allocations: 47.92 kB / 0.9532 GB, free: 5.75 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006805/0.2989, allocations: 476.3 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.464e-05/0.299, allocations: 33.22 kB / 0.9537 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.05e-05/0.299, allocations: 21.72 kB / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.299, allocations: 0 / 0.9537 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.2991, allocations: 38.56 kB / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2991, allocations: 0 / 0.9538 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002264/0.2993, allocations: 57.44 kB / 0.9538 GB, free: 5.043 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.2994, allocations: 77.11 kB / 0.9539 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.2996, allocations: 191.2 kB / 0.9541 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.2996, allocations: 25.7 kB / 0.9541 GB, free: 4.719 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.2997, allocations: 108 kB / 0.9542 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.2998, allocations: 12.16 kB / 0.9542 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2998, allocations: 13.72 kB / 0.9542 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3, allocations: 326.8 kB / 0.9545 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.08e-05/0.3, allocations: 4 kB / 0.9545 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.3, allocations: 17.72 kB / 0.9546 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.031e-05/0.3001, allocations: 33.64 kB / 0.9546 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.3001, allocations: 4 kB / 0.9546 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.617e-05/0.3002, allocations: 57.55 kB / 0.9547 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.3002, allocations: 8 kB / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3002, allocations: 0 / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.3003, allocations: 0 / 0.9547 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.3003, allocations: 11.98 kB / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3004, allocations: 0 / 0.9547 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.3004, allocations: 19.94 kB / 0.9547 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.3004, allocations: 4 kB / 0.9547 GB, free: 4.074 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 8.76e-05/0.3005, allocations: 121.8 kB / 0.9548 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.3006, allocations: 11.91 kB / 0.9548 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.3006, allocations: 16.55 kB / 0.9548 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3006, allocations: 3.984 kB / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3006, allocations: 0 / 0.9548 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/0.3006, allocations: 7.938 kB / 0.9548 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000392/0.301, allocations: 470.8 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.301, allocations: 0 / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.194e-05/0.3011, allocations: 7.984 kB / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3011, allocations: 0 / 0.9553 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.3011, allocations: 3.938 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.3011, allocations: 7.984 kB / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3011, allocations: 0 / 0.9553 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3012, allocations: 77.91 kB / 0.9554 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.3013, allocations: 96.91 kB / 0.9555 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3013, allocations: 3.938 kB / 0.9555 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.112e-05/0.3014, allocations: 4 kB / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.3014, allocations: 0 / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.3014, allocations: 0 / 0.9555 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001146/0.3015, allocations: 136.3 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3015, allocations: 0 / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001924/0.3017, allocations: 15.94 kB / 0.9556 GB, free: 3 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.0001434/0.3019, allocations: 103.3 kB / 0.9557 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.302, allocations: 19.92 kB / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.302, allocations: 0 / 0.9558 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.091e-05/0.302, allocations: 4 kB / 0.9558 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.3022, allocations: 8 kB / 0.9558 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004069/0.3026, allocations: 191 kB / 0.9559 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.3029, allocations: 0.6963 MB / 0.9566 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.129e-05/0.3029, allocations: 8.562 kB / 0.9566 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.303, allocations: 11.44 kB / 0.9566 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.303, allocations: 0 / 0.9566 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of Templates: time 0.002871/0.3059, allocations: 0.5043 MB / 0.9571 GB, free: 1.398 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 -s gbode -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