Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001098/0.001098, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 199 kB / 16.79 MB, free: 6.809 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.331/1.331, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.826/2.826, allocations: 437 MB / 0.7106 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.8692 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6669/0.6682, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_hp): time 0.002582/0.6708, allocations: 0.8859 MB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.671, allocations: 47.78 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.078e-05/0.671, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.999e-05/0.6711, allocations: 7.922 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.647e-05/0.6712, allocations: 3.938 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.707e-05/0.6713, allocations: 15.98 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.6714, allocations: 55.86 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001504/0.6716, allocations: 47.94 kB / 1.018 GB, free: 1.734 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.822e-05/0.6716, allocations: 27.81 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.098e-05/0.6717, allocations: 23.84 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.6717, allocations: 4 kB / 1.018 GB, free: 1.68 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.254e-05/0.6717, allocations: 4 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.192e-05/0.6718, allocations: 19.94 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.6718, allocations: 31.73 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.148e-05/0.6719, allocations: 57.8 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6719, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.172e-06/0.6719, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.6719, allocations: 0 / 1.018 GB, free: 1.57 MB / 0.7637 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.0004579/0.6724, allocations: 383.2 kB / 1.019 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6724, allocations: 8.031 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.6725, allocations: 12.83 kB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.6727, allocations: 196.2 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.6727, allocations: 4.375 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.6727, allocations: 8.375 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.6729, allocations: 93.58 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.6729, allocations: 192 / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.673, allocations: 7.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.673, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.571e-05/0.6731, allocations: 43.91 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005598/0.6736, allocations: 428.6 kB / 1.02 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.052e-05/0.6737, allocations: 41.28 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.796e-05/0.6738, allocations: 21.84 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.816e-06/0.6738, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/0.6738, allocations: 34.56 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6738, allocations: 0 / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.674, allocations: 65.38 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.6741, allocations: 77.11 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.6742, allocations: 171.7 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.6743, allocations: 25.7 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.351e-05/0.6743, allocations: 104 kB / 1.02 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.272e-05/0.6744, allocations: 7.891 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/0.6744, allocations: 17.72 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.6745, allocations: 322.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.886e-05/0.6746, allocations: 0 / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.6746, allocations: 29.64 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.111e-05/0.6746, allocations: 29.7 kB / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6746, allocations: 0 / 1.021 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.121e-05/0.6747, allocations: 57.55 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.6748, allocations: 8 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.6748, allocations: 3.938 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.6748, allocations: 0 / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.6749, allocations: 7.984 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6749, allocations: 8.062 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.287e-05/0.6749, allocations: 3.906 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.6749, allocations: 11.94 kB / 1.021 GB, free: 15.12 MB / 0.7794 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.447e-05/0.675, allocations: 113.8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.439e-05/0.6751, allocations: 7.906 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.601e-05/0.6751, allocations: 15.81 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.6751, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6751, allocations: 7.984 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.6751, allocations: 0 / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003706/0.6755, allocations: 470.8 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6755, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.6756, allocations: 4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.6756, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.6756, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.6756, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6756, allocations: 0 / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.845e-05/0.6757, allocations: 85.89 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.6757, allocations: 88.95 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.6758, allocations: 4 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.6758, allocations: 0 / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.6758, allocations: 11.92 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.6758, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.102e-05/0.6759, allocations: 125.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6759, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001946/0.6761, allocations: 8 kB / 1.022 GB, free: 14.08 MB / 0.7794 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.0001331/0.6763, allocations: 99.23 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.896e-05/0.6764, allocations: 16 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.6764, allocations: 0 / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.6764, allocations: 11.88 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001774/0.6766, allocations: 18.08 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003513/0.6769, allocations: 206.2 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002392/0.6772, allocations: 0.6965 MB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.6772, allocations: 11.44 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.6772, allocations: 0 / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of Templates: time 0.002212/0.6794, allocations: 0.856 MB / 1.023 GB, free: 12.1 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_hp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches