Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.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_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001547/0.001547, allocations: 103.5 kB / 16.41 MB, free: 6.465 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.001789/0.001789, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.09 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.292/2.292, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8948/0.8963, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002459/0.8988, allocations: 0.8287 MB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001341/0.899, allocations: 44.69 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.163e-05/0.899, allocations: 1.094 kB / 1.089 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.8991, allocations: 17.83 kB / 1.089 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.827e-05/0.8992, allocations: 5.906 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.007e-05/0.8993, allocations: 16.3 kB / 1.09 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.8994, allocations: 66.77 kB / 1.09 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.8996, allocations: 37.64 kB / 1.09 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.8997, allocations: 26.25 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.519e-05/0.8998, allocations: 34.31 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.8998, allocations: 6.281 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.8998, allocations: 6.094 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.499e-05/0.8998, allocations: 16.61 kB / 1.09 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.8999, allocations: 29.16 kB / 1.09 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.9, allocations: 79.08 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.9, allocations: 0 / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.406e-06/0.9, allocations: 0.6094 kB / 1.09 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.9001, allocations: 5.062 kB / 1.09 GB, free: 4.742 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.0004768/0.9005, allocations: 374.2 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.9006, allocations: 8.531 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.095e-05/0.9006, allocations: 13.91 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.9008, allocations: 192.8 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.9009, allocations: 7.969 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.953e-05/0.9009, allocations: 4.406 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.9011, allocations: 98.16 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.9011, allocations: 192 / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.9011, allocations: 9.094 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.9011, allocations: 2.031 kB / 1.09 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.094e-05/0.9012, allocations: 36.41 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005737/0.9018, allocations: 433.9 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.147e-05/0.9019, allocations: 45.28 kB / 1.091 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.9019, allocations: 24.95 kB / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.9019, allocations: 0 / 1.091 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.902, allocations: 37.55 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.902, allocations: 4 kB / 1.091 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.9022, allocations: 56.91 kB / 1.091 GB, free: 3.473 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.9022, allocations: 78.17 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.9024, allocations: 158.9 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.9024, allocations: 25.7 kB / 1.091 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.62e-05/0.9025, allocations: 108 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.616e-06/0.9025, allocations: 5.859 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.9026, allocations: 14.52 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/0.9026, allocations: 327 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.02e-05/0.9027, allocations: 8.141 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.344e-05/0.9027, allocations: 23.95 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.98e-05/0.9027, allocations: 23.64 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.9027, allocations: 0 / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.887e-05/0.9028, allocations: 61.92 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.9029, allocations: 5.828 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.9029, allocations: 4.812 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.9029, allocations: 0.8438 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.325e-05/0.903, allocations: 10.48 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.903, allocations: 1.094 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.903, allocations: 5.922 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.903, allocations: 2.5 kB / 1.092 GB, free: 2.68 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 7.317e-05/0.9031, allocations: 113.1 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.423e-05/0.9032, allocations: 12.5 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.26e-05/0.9032, allocations: 13.09 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.9032, allocations: 1.406 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.9032, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.9032, allocations: 1.766 kB / 1.092 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.9036, allocations: 474.6 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.9036, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.063e-05/0.9036, allocations: 7.828 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9036, allocations: 6.297 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.9036, allocations: 96 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.9037, allocations: 1.469 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.9037, allocations: 0 / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.906e-05/0.9038, allocations: 89.22 kB / 1.093 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.9038, allocations: 94 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.9038, allocations: 2.016 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.183e-05/0.9039, allocations: 1.219 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.881e-05/0.9039, allocations: 1.891 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-06/0.9039, allocations: 1.25 kB / 1.093 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.976e-05/0.904, allocations: 120.9 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.904, allocations: 1.125 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002016/0.9042, allocations: 10.06 kB / 1.093 GB, free: 1.758 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 9.893e-05/0.9043, allocations: 106.6 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.287e-05/0.9044, allocations: 20.02 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.9044, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.9044, allocations: 9.391 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.9046, allocations: 10.34 kB / 1.093 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.9049, allocations: 188.3 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.9051, allocations: 0.7011 MB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.9051, allocations: 11.44 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9051, allocations: 0 / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.002559/0.9077, allocations: 0.8648 MB / 1.095 GB, free: 16.67 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches