Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00673/0.00673, allocations: 104.7 kB / 15.71 MB, free: 6.027 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.001258/0.001258, allocations: 198.2 kB / 16.64 MB, free: 5.969 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.398/1.398, allocations: 222.9 MB / 240.3 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.266/2.266, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.9509 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.133/1.134, allocations: 140.4 MB / 1.088 GB, free: 5.457 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.003256/1.137, allocations: 0.8183 MB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001785/1.138, allocations: 41.42 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.192e-05/1.138, allocations: 1.125 kB / 1.089 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.107e-05/1.138, allocations: 9.516 kB / 1.089 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/1.138, allocations: 6.656 kB / 1.089 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 7.45e-05/1.138, allocations: 19.97 kB / 1.089 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001647/1.138, allocations: 63.69 kB / 1.089 GB, free: 4.836 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/1.138, allocations: 41.2 kB / 1.089 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.087e-05/1.139, allocations: 22.72 kB / 1.089 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.447e-05/1.139, allocations: 34.28 kB / 1.089 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/1.139, allocations: 10.28 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 2.219e-05/1.139, allocations: 6.562 kB / 1.089 GB, free: 4.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/1.139, allocations: 20.58 kB / 1.089 GB, free: 4.762 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.829e-05/1.139, allocations: 35.38 kB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/1.139, allocations: 78.42 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/1.139, allocations: 0 / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.016e-06/1.139, allocations: 0 / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/1.139, allocations: 1.094 kB / 1.089 GB, free: 4.703 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005386/1.14, allocations: 377.6 kB / 1.09 GB, free: 4.32 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/1.14, allocations: 13.41 kB / 1.09 GB, free: 4.316 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.214e-05/1.14, allocations: 14.75 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002408/1.14, allocations: 191.6 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/1.14, allocations: 8.375 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/1.14, allocations: 4.719 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/1.14, allocations: 90.41 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.14, allocations: 0.9062 kB / 1.09 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/1.14, allocations: 5.078 kB / 1.09 GB, free: 4.023 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/1.14, allocations: 5.969 kB / 1.09 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001478/1.141, allocations: 41.42 kB / 1.09 GB, free: 4.004 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007661/1.141, allocations: 429.2 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/1.142, allocations: 45.45 kB / 1.09 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.612e-05/1.142, allocations: 23.92 kB / 1.09 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/1.142, allocations: 5.406 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.142, allocations: 32.67 kB / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/1.142, allocations: 0 / 1.09 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000269/1.142, allocations: 57.27 kB / 1.09 GB, free: 3.434 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/1.142, allocations: 82.61 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002289/1.142, allocations: 162 kB / 1.091 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/1.142, allocations: 26.8 kB / 1.091 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.642e-05/1.142, allocations: 102.8 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.802e-05/1.142, allocations: 10.02 kB / 1.091 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/1.142, allocations: 18.42 kB / 1.091 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.554e-05/1.143, allocations: 320 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/1.143, allocations: 4.031 kB / 1.091 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.018e-05/1.143, allocations: 28.19 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.142e-05/1.143, allocations: 22.64 kB / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/1.143, allocations: 0 / 1.091 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000148/1.143, allocations: 62.23 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.143, allocations: 5.219 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/1.143, allocations: 5.484 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.143, allocations: 4.062 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.143, allocations: 7.016 kB / 1.091 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.143, allocations: 9.047 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.945e-05/1.143, allocations: 6.094 kB / 1.091 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/1.143, allocations: 1.656 kB / 1.091 GB, free: 2.629 MB / 0.8575 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.585e-05/1.143, allocations: 118.1 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.82e-05/1.143, allocations: 8.594 kB / 1.091 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/1.143, allocations: 15.97 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/1.143, allocations: 1.094 kB / 1.091 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.144, allocations: 6.016 kB / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/1.144, allocations: 0 / 1.091 GB, free: 2.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/1.144, allocations: 467 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.144, allocations: 0.8125 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.753e-05/1.144, allocations: 3.797 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/1.144, allocations: 5.047 kB / 1.092 GB, free: 2 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.144, allocations: 4 kB / 1.092 GB, free: 1.996 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.144, allocations: 9.656 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.144, allocations: 1.125 kB / 1.092 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/1.144, allocations: 76.22 kB / 1.092 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.379e-05/1.144, allocations: 91.48 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.318e-05/1.144, allocations: 1.125 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.258e-05/1.144, allocations: 4.656 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/1.144, allocations: 9.734 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/1.144, allocations: 1.812 kB / 1.092 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001413/1.145, allocations: 120.3 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.91e-07/1.145, allocations: 0 / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003612/1.145, allocations: 7.406 kB / 1.092 GB, free: 1.707 MB / 0.8575 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.0001439/1.145, allocations: 97.97 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001455/1.145, allocations: 16.33 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/1.145, allocations: 4.125 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/1.145, allocations: 12.88 kB / 1.092 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002733/1.146, allocations: 6.766 kB / 1.092 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004929/1.146, allocations: 160.9 kB / 1.092 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/1.146, allocations: 0.6918 MB / 1.093 GB, free: 0.7539 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 5.828e-05/1.146, allocations: 11.36 kB / 1.093 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/1.147, allocations: 11.34 kB / 1.093 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of SimCode: time 7.02e-07/1.147, allocations: 0.875 kB / 1.093 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of Templates: time 0.00456/1.151, allocations: 449.1 kB / 1.094 GB, free: 0.668 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches