Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.From_hp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001355/0.001355, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001556/0.001556, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.62/2.62, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 63.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7044/0.7058, allocations: 151.6 MB / 1.017 GB, free: 2.953 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002378/0.7082, allocations: 0.8818 MB / 1.017 GB, free: 2.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001153/0.7083, allocations: 43.78 kB / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.7084, allocations: 0 / 1.018 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.34e-05/0.7085, allocations: 7.922 kB / 1.018 GB, free: 2.023 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.7085, allocations: 3.938 kB / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.486e-05/0.7086, allocations: 16 kB / 1.018 GB, free: 2.004 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.38e-05/0.7087, allocations: 59.84 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.7088, allocations: 39.97 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.7089, allocations: 19.86 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.3e-05/0.709, allocations: 35.78 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.709, allocations: 7.938 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.709, allocations: 4 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.283e-05/0.709, allocations: 11.92 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.7091, allocations: 31.81 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.7092, allocations: 77.8 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.7092, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.092e-06/0.7092, allocations: 0 / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.1e-06/0.7092, allocations: 0 / 1.018 GB, free: 1.723 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.0005002/0.7097, allocations: 379.2 kB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.7098, allocations: 8.031 kB / 1.018 GB, free: 1.293 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.23e-05/0.7098, allocations: 8.844 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.71, allocations: 196.1 kB / 1.018 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.7101, allocations: 12.38 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.955e-05/0.7101, allocations: 8.359 kB / 1.018 GB, free: 1.035 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.7103, allocations: 94.52 kB / 1.018 GB, free: 0.9336 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.7103, allocations: 4.188 kB / 1.018 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.7103, allocations: 3.938 kB / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.7103, allocations: 0 / 1.018 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.888e-05/0.7104, allocations: 39.92 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.7109, allocations: 432.6 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.255e-05/0.711, allocations: 41.28 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.596e-05/0.711, allocations: 21.84 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-06/0.7111, allocations: 7.938 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.7111, allocations: 34.56 kB / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.7111, allocations: 0 / 1.019 GB, free: 280 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001703/0.7113, allocations: 65.38 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.7113, allocations: 77.11 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.7115, allocations: 164.3 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.7115, allocations: 29.7 kB / 1.019 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/0.7116, allocations: 104 kB / 1.019 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.548e-06/0.7116, allocations: 7.906 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.7116, allocations: 13.72 kB / 1.019 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7117, allocations: 322.8 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.121e-05/0.7118, allocations: 11.94 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.7118, allocations: 13.72 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.7118, allocations: 29.72 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.7119, allocations: 3.984 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.267e-05/0.7119, allocations: 53.55 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.712, allocations: 8 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.712, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.958e-06/0.712, allocations: 3.938 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.6e-05/0.7121, allocations: 8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.7121, allocations: 8.047 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.7121, allocations: 3.906 kB / 1.02 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.7121, allocations: 8 kB / 1.02 GB, free: 15.27 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 7.785e-05/0.7122, allocations: 109.8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.34e-05/0.7122, allocations: 11.91 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.451e-05/0.7123, allocations: 7.812 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.7123, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.7123, allocations: 4 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.7123, allocations: 3.984 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.7127, allocations: 478.8 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7127, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.207e-05/0.7127, allocations: 7.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.7127, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.7127, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.7128, allocations: 0 / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7128, allocations: 3.938 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.255e-05/0.7129, allocations: 85.89 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.543e-05/0.7129, allocations: 88.95 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.7129, allocations: 4 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.713, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.37e-05/0.713, allocations: 3.984 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.713, allocations: 0 / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.501e-05/0.7131, allocations: 121.1 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7131, allocations: 3.938 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001843/0.7133, allocations: 8 kB / 1.021 GB, free: 14.24 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.000137/0.7134, allocations: 111.2 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.611e-05/0.7135, allocations: 8 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.7135, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.282e-05/0.7135, allocations: 7.938 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.7137, allocations: 18.25 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.714, allocations: 176.5 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.7143, allocations: 0.6965 MB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.304e-05/0.7143, allocations: 8.422 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.7144, allocations: 11.44 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of SimCode: time 3.7e-07/0.7144, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Templates: time 0.002504/0.7169, allocations: 440.6 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_hp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_hp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches