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.001469/0.001469, 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.001587/0.001587, allocations: 192.7 kB / 16.14 MB, free: 6.629 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.545/1.545, allocations: 222.9 MB / 239.8 MB, free: 4.602 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.963/2.963, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002894/0.002895, allocations: 63.89 kB / 0.8686 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7545/0.7574, allocations: 151.6 MB / 1.017 GB, free: 2.812 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_hp): time 0.002732/0.7602, allocations: 0.8896 MB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001534/0.7604, allocations: 43.78 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.687e-05/0.7604, allocations: 0 / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.209e-05/0.7605, allocations: 7.938 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.113e-05/0.7606, allocations: 3.938 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.171e-05/0.7607, allocations: 15.98 kB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.7608, allocations: 59.84 kB / 1.018 GB, free: 1.797 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.761, allocations: 39.95 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.868e-05/0.761, allocations: 27.81 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.236e-05/0.7611, allocations: 27.84 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.7611, allocations: 4 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.7611, allocations: 4 kB / 1.018 GB, free: 1.695 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.227e-05/0.7612, allocations: 11.94 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.7612, allocations: 31.8 kB / 1.018 GB, free: 1.652 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.7613, allocations: 69.67 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.7613, allocations: 0 / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.92e-07/0.7614, allocations: 4 kB / 1.018 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7614, allocations: 0 / 1.018 GB, free: 1.582 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.0004884/0.7619, allocations: 383.2 kB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.7619, allocations: 8.031 kB / 1.018 GB, free: 1.148 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/0.7619, allocations: 8.844 kB / 1.018 GB, free: 1.141 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.7622, allocations: 200.1 kB / 1.018 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.7622, allocations: 4.375 kB / 1.018 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.7622, allocations: 8.375 kB / 1.018 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.7624, allocations: 91.86 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.7624, allocations: 192 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.891e-05/0.7625, allocations: 15.94 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.7625, allocations: 3.938 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.194e-05/0.7626, allocations: 39.92 kB / 1.019 GB, free: 0.7344 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.7632, allocations: 432.6 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.125e-05/0.7633, allocations: 41.27 kB / 1.019 GB, free: 204 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.476e-05/0.7634, allocations: 25.78 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.7634, allocations: 0 / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.7634, allocations: 34.56 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 2.936e-06/0.7634, allocations: 0 / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002098/0.7636, allocations: 69.38 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.7637, allocations: 81.05 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.7639, allocations: 159.5 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.7639, allocations: 25.7 kB / 1.019 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.173e-05/0.764, allocations: 104 kB / 1.019 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.7641, allocations: 8.141 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.7641, allocations: 21.72 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.7643, allocations: 318.8 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.7643, allocations: 3.984 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.202e-05/0.7643, allocations: 25.7 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.802e-05/0.7644, allocations: 21.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7644, allocations: 4 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001129/0.7645, allocations: 61.53 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.7645, allocations: 8 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7646, allocations: 3.938 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.7646, allocations: 0 / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.811e-05/0.7646, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.7647, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.7647, allocations: 3.906 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.7647, allocations: 4 kB / 1.02 GB, free: 15.13 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 9.593e-05/0.7648, allocations: 118.4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.723e-05/0.7649, allocations: 11.89 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.649e-05/0.7649, allocations: 15.81 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7649, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.7649, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.7649, allocations: 0 / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004557/0.7654, allocations: 470.8 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.7654, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.206e-05/0.7654, allocations: 4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.7654, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/0.7654, allocations: 3.984 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.7655, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7655, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.464e-05/0.7656, allocations: 81.88 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.7656, allocations: 92.94 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.7657, allocations: 7.938 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.591e-05/0.7657, allocations: 4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.512e-05/0.7657, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-06/0.7657, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001033/0.7658, allocations: 125.5 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7658, allocations: 0 / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001988/0.766, allocations: 8 kB / 1.021 GB, free: 14.09 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.0001431/0.7662, allocations: 102.2 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.007e-05/0.7663, allocations: 19.98 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7663, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.624e-05/0.7663, allocations: 7.938 kB / 1.021 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.0001619/0.7665, allocations: 11.94 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.7668, allocations: 180.8 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.7672, allocations: 0.6965 MB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.481e-05/0.7672, allocations: 8.438 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.7673, allocations: 11.44 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of SimCode: time 2.084e-06/0.7673, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of Templates: time 0.003068/0.7703, allocations: 436.5 kB / 1.022 GB, free: 12.56 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=400 -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