Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 108 kB / 15.6 MB, free: 132 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.002196/0.002196, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.609/1.609, allocations: 222.9 MB / 240.2 MB, free: 4.352 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.965/2.965, allocations: 437 MB / 0.7104 GB, free: 5.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 63.89 kB / 0.8692 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.771/0.7731, allocations: 151.6 MB / 1.017 GB, free: 2.453 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002177/0.7753, allocations: 0.8273 MB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001212/0.7754, allocations: 39.78 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.22e-05/0.7755, allocations: 4 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.589e-05/0.7755, allocations: 7.875 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.7756, allocations: 7.938 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.968e-05/0.7757, allocations: 19.97 kB / 1.018 GB, free: 1.551 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.7758, allocations: 59.8 kB / 1.018 GB, free: 1.492 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001822/0.776, allocations: 47.95 kB / 1.018 GB, free: 1.445 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.253e-05/0.776, allocations: 23.88 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.415e-05/0.7761, allocations: 27.84 kB / 1.018 GB, free: 1.395 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.7761, allocations: 8 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.483e-05/0.7762, allocations: 4 kB / 1.018 GB, free: 1.383 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.7762, allocations: 11.94 kB / 1.018 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.798e-05/0.7762, allocations: 39.78 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.7764, allocations: 77.62 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7764, allocations: 0 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7764, allocations: 0 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7764, allocations: 3.938 kB / 1.018 GB, free: 1.254 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.0005131/0.7769, allocations: 383.1 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.777, allocations: 8.031 kB / 1.019 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.777, allocations: 12.84 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.7772, allocations: 188.2 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.7773, allocations: 12.38 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.7773, allocations: 4.375 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.7775, allocations: 99.78 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.7775, allocations: 192 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.7775, allocations: 11.94 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.7775, allocations: 0 / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.207e-05/0.7776, allocations: 35.92 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.7782, allocations: 432.7 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.075e-05/0.7783, allocations: 37.16 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.7784, allocations: 29.86 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.946e-06/0.7784, allocations: 4 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.7784, allocations: 34.5 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.7784, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000179/0.7786, allocations: 57.48 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.7787, allocations: 77.11 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.7788, allocations: 164.1 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.7789, allocations: 29.95 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.7789, allocations: 107.9 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.026e-05/0.779, allocations: 7.906 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.779, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.7791, allocations: 326.8 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.7792, allocations: 4 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.829e-05/0.7792, allocations: 25.69 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.903e-05/0.7793, allocations: 33.66 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.7793, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.12e-05/0.7794, allocations: 57.53 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.7794, allocations: 8 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.7794, allocations: 3.938 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.7794, allocations: 0 / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.724e-05/0.7795, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.7795, allocations: 4 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.98e-05/0.7795, allocations: 8.062 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7795, allocations: 4 kB / 1.021 GB, free: 14.8 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.213e-05/0.7796, allocations: 110.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.7797, allocations: 11.81 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.502e-05/0.7797, allocations: 19.73 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7797, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7797, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.7797, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004515/0.7802, allocations: 474.8 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.7802, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.007e-05/0.7802, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.7802, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.7802, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.7802, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.7802, allocations: 4 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.236e-05/0.7803, allocations: 89.77 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.7804, allocations: 96.94 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.7804, allocations: 4 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.7805, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.02e-05/0.7805, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.7805, allocations: 0 / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.632e-05/0.7806, allocations: 121.1 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7806, allocations: 4.031 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001876/0.7808, allocations: 8 kB / 1.022 GB, free: 13.76 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.0001219/0.7809, allocations: 99.25 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.899e-05/0.781, allocations: 23.92 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.781, allocations: 0 / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.094e-05/0.781, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.7812, allocations: 13.48 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003388/0.7815, allocations: 163 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.782, allocations: 0.6963 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.75e-05/0.782, allocations: 4.438 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.539e-05/0.782, allocations: 11.44 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.782, allocations: 0 / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of Templates: time 0.002896/0.7849, allocations: 449.8 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches