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.001536/0.001536, allocations: 115 kB / 16.37 MB, free: 6.016 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.001691/0.001691, allocations: 193.2 kB / 17.31 MB, free: 5.609 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 / 241 MB, free: 14.98 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.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 62.45 kB / 0.814 GB, free: 32.73 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3061, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002505/0.3086, allocations: 0.8282 MB / 0.9519 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.3088, allocations: 47.78 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.932e-05/0.3089, allocations: 0 / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.3089, allocations: 15.8 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.309, allocations: 11.88 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.311e-05/0.3091, allocations: 15.98 kB / 0.952 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3092, allocations: 59.84 kB / 0.9521 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.3094, allocations: 39.97 kB / 0.9521 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.3095, allocations: 23.88 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.3096, allocations: 31.84 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.3096, allocations: 4 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.801e-05/0.3096, allocations: 8 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.863e-05/0.3097, allocations: 19.86 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.3097, allocations: 35.73 kB / 0.9522 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.3098, allocations: 71.72 kB / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3099, allocations: 0 / 0.9523 GB, free: 6.84 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.334e-06/0.3099, allocations: 4 kB / 0.9523 GB, free: 6.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3099, allocations: 0 / 0.9523 GB, free: 6.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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004986/0.3104, allocations: 380.2 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.3104, allocations: 12.03 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.517e-05/0.3105, allocations: 8.844 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.3107, allocations: 196.1 kB / 0.9529 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3107, allocations: 12.38 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3108, allocations: 12.38 kB / 0.9529 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.3109, allocations: 87.86 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3109, allocations: 192 / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.311, allocations: 7.938 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.311, allocations: 7.938 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.697e-05/0.3111, allocations: 39.98 kB / 0.953 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005405/0.3116, allocations: 432.6 kB / 0.9534 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.841e-05/0.3117, allocations: 41.33 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.437e-05/0.3117, allocations: 17.78 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.197e-05/0.3117, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.3118, allocations: 38.56 kB / 0.9535 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3118, allocations: 3.938 kB / 0.9535 GB, free: 5.379 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.000181/0.3119, allocations: 49.55 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.571e-05/0.312, allocations: 89.03 kB / 0.9537 GB, free: 5.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.3122, allocations: 160.8 kB / 0.9538 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.3122, allocations: 25.7 kB / 0.9539 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.011e-05/0.3122, allocations: 108.2 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.225e-05/0.3123, allocations: 15.84 kB / 0.954 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3123, allocations: 21.7 kB / 0.954 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3124, allocations: 314.8 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.951e-05/0.3125, allocations: 11.98 kB / 0.9543 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.3125, allocations: 17.72 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.3125, allocations: 25.72 kB / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3125, allocations: 0 / 0.9543 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.878e-05/0.3126, allocations: 65.53 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3127, allocations: 4 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3127, allocations: 3.938 kB / 0.9544 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.3127, allocations: 4 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.956e-05/0.3127, allocations: 4 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3128, allocations: 0 / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.131e-05/0.3128, allocations: 11.84 kB / 0.9544 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.897e-06/0.3128, allocations: 64 / 0.9544 GB, free: 4.391 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.562e-05/0.3129, allocations: 121.8 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.3129, allocations: 7.906 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.313, allocations: 15.8 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.313, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.313, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.313, allocations: 0 / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003606/0.3133, allocations: 478.8 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3134, allocations: 0 / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.3134, allocations: 4 kB / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3134, allocations: 0 / 0.955 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3134, allocations: 4 kB / 0.955 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3134, allocations: 3.984 kB / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3134, allocations: 0 / 0.955 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.347e-05/0.3135, allocations: 81.91 kB / 0.9551 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.06e-05/0.3136, allocations: 92.94 kB / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.3136, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.3136, allocations: 0 / 0.9552 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.797e-05/0.3136, allocations: 4 kB / 0.9552 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3136, allocations: 4 kB / 0.9552 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.433e-05/0.3137, allocations: 121.3 kB / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.452e-06/0.3137, allocations: 0 / 0.9553 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001834/0.3139, allocations: 15.94 kB / 0.9553 GB, free: 3.344 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.0001072/0.314, allocations: 99.28 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.208e-05/0.3141, allocations: 23.92 kB / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3141, allocations: 0 / 0.9555 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.478e-06/0.3141, allocations: 4 kB / 0.9555 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.3143, allocations: 7.938 kB / 0.9555 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.3146, allocations: 167.1 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002377/0.3149, allocations: 0.7039 MB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.3149, allocations: 4.438 kB / 0.9563 GB, free: 2.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.377e-05/0.3149, allocations: 11.44 kB / 0.9563 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.315, allocations: 0 / 0.9563 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of Templates: time 0.002608/0.3176, allocations: 454.8 kB / 0.9568 GB, free: 1.816 MB / 0.7325 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 -s gbode -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/jenkins1/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