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.001209/0.001209, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001448/0.001448, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.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.661/2.661, allocations: 390.9 MB / 0.666 GB, free: 2.512 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.000376, allocations: 16 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9268/0.9272, allocations: 142.4 MB / 0.9544 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.001203/0.9284, allocations: 0.5187 MB / 0.9549 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001334/0.9286, allocations: 40.91 kB / 0.955 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.9286, allocations: 1.875 kB / 0.955 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.636e-05/0.9287, allocations: 7.922 kB / 0.955 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.9288, allocations: 8.906 kB / 0.955 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.92e-05/0.9289, allocations: 12.08 kB / 0.955 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001317/0.929, allocations: 53.52 kB / 0.9551 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001737/0.9292, allocations: 34.16 kB / 0.9551 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.987e-05/0.9293, allocations: 17.92 kB / 0.9551 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.374e-05/0.9294, allocations: 23.52 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.9294, allocations: 2 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.9294, allocations: 2.281 kB / 0.9551 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.123e-05/0.9294, allocations: 14.8 kB / 0.9552 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.9295, allocations: 36.39 kB / 0.9552 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.959e-05/0.9296, allocations: 45.52 kB / 0.9552 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.9296, allocations: 5.031 kB / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9296, allocations: 0 / 0.9552 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.9296, allocations: 0 / 0.9552 GB, free: 7.047 MB / 0.7169 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.0004363/0.9301, allocations: 364.3 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.9301, allocations: 9.594 kB / 0.9556 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.9302, allocations: 15.73 kB / 0.9556 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.9305, allocations: 197.7 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.9305, allocations: 3.812 kB / 0.9558 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.9305, allocations: 11.78 kB / 0.9558 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.9307, allocations: 91.08 kB / 0.9559 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.9308, allocations: 0 / 0.9559 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.961e-05/0.9308, allocations: 5.188 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.9308, allocations: 2.438 kB / 0.9559 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.931, allocations: 42.19 kB / 0.9559 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.9316, allocations: 438.2 kB / 0.9564 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.194e-05/0.9317, allocations: 37.34 kB / 0.9564 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.564e-05/0.9318, allocations: 19.78 kB / 0.9564 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.9318, allocations: 4 kB / 0.9564 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.9318, allocations: 32.03 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.9319, allocations: 0 / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0002274/0.9321, allocations: 58.88 kB / 0.9565 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.703e-05/0.9321, allocations: 78.17 kB / 0.9566 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.9323, allocations: 163.5 kB / 0.9567 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.9324, allocations: 25.95 kB / 0.9568 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.9324, allocations: 112.3 kB / 0.9569 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.9325, allocations: 9 kB / 0.9569 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.9325, allocations: 3.938 kB / 0.9569 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.159e-05/0.9326, allocations: 321.2 kB / 0.9572 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.9326, allocations: 7.234 kB / 0.9572 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.9327, allocations: 23.42 kB / 0.9572 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.1e-05/0.9327, allocations: 11.56 kB / 0.9572 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.9327, allocations: 5.156 kB / 0.9572 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001329/0.9329, allocations: 54.06 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.9329, allocations: 5.469 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.9329, allocations: 1.031 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.933, allocations: 0.9688 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.799e-05/0.933, allocations: 5.75 kB / 0.9573 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.9331, allocations: 3.938 kB / 0.9573 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.815e-05/0.9331, allocations: 6.531 kB / 0.9573 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.9332, allocations: 2.156 kB / 0.9573 GB, free: 4.93 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/0.9332, allocations: 121.2 kB / 0.9574 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.428e-05/0.9333, allocations: 7.25 kB / 0.9574 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.9334, allocations: 11.42 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.9334, allocations: 0 / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9334, allocations: 1.062 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.9334, allocations: 1.094 kB / 0.9574 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.9339, allocations: 482 kB / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.9339, allocations: 0 / 0.9579 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.166e-05/0.9339, allocations: 7.562 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.934, allocations: 1.094 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.934, allocations: 1.281 kB / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.934, allocations: 0 / 0.9579 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.934, allocations: 5.234 kB / 0.9579 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.9341, allocations: 82.14 kB / 0.958 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.9342, allocations: 91.81 kB / 0.9581 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.9342, allocations: 1.375 kB / 0.9581 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.9343, allocations: 0 / 0.9581 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.9343, allocations: 1.312 kB / 0.9581 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.9343, allocations: 1.031 kB / 0.9581 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001154/0.9344, allocations: 120.7 kB / 0.9582 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.9345, allocations: 1.125 kB / 0.9582 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003599/0.9348, allocations: 14.36 kB / 0.9582 GB, free: 3.977 MB / 0.7169 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001367/0.935, allocations: 112.6 kB / 0.9583 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001257/0.9351, allocations: 21.39 kB / 0.9583 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.9351, allocations: 3.938 kB / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.037e-05/0.9352, allocations: 5.344 kB / 0.9584 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.9355, allocations: 8.469 kB / 0.9584 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.9359, allocations: 173.1 kB / 0.9585 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.9361, allocations: 0.6955 MB / 0.9592 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.021e-05/0.9361, allocations: 9.188 kB / 0.9592 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.9362, allocations: 11.44 kB / 0.9592 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.9362, allocations: 0 / 0.9592 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of Templates: time 0.003834/0.94, allocations: 419.2 kB / 0.9596 GB, free: 2.746 MB / 0.7169 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