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.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.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.001209/0.001209, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001154/0.001154, allocations: 191 kB / 17.29 MB, free: 5.516 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.47/2.47, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 65.03 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3191, allocations: 151.6 MB / 1.019 GB, free: 9.875 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002162/0.3213, allocations: 0.8347 MB / 1.02 GB, free: 9.035 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001024/0.3214, allocations: 39.78 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.725e-05/0.3215, allocations: 4 kB / 1.02 GB, free: 8.992 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.474e-05/0.3215, allocations: 11.86 kB / 1.02 GB, free: 8.98 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.426e-05/0.3216, allocations: 7.875 kB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.766e-05/0.3217, allocations: 19.98 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.3218, allocations: 63.75 kB / 1.02 GB, free: 8.891 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.3219, allocations: 51.95 kB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.33e-05/0.322, allocations: 15.88 kB / 1.02 GB, free: 8.824 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.3221, allocations: 35.84 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3221, allocations: 4 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.104e-05/0.3221, allocations: 8 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.3221, allocations: 19.86 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.941e-05/0.3222, allocations: 39.73 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.3223, allocations: 67.72 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.3223, allocations: 4 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.452e-06/0.3223, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.3223, allocations: 0 / 1.02 GB, free: 8.648 MB / 0.795 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.0004527/0.3228, allocations: 375.2 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3228, allocations: 16.86 kB / 1.02 GB, free: 8.215 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3229, allocations: 8.844 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.3231, allocations: 196.1 kB / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.3231, allocations: 384 / 1.021 GB, free: 7.977 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3231, allocations: 12.38 kB / 1.021 GB, free: 7.965 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.3233, allocations: 95.84 kB / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3233, allocations: 192 / 1.021 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3233, allocations: 7.938 kB / 1.021 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.3233, allocations: 11.94 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.382e-05/0.3234, allocations: 35.98 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.3239, allocations: 428.5 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.347e-05/0.324, allocations: 41.34 kB / 1.021 GB, free: 7.273 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.741e-05/0.3241, allocations: 21.77 kB / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-06/0.3241, allocations: 0 / 1.021 GB, free: 7.246 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.3241, allocations: 38.56 kB / 1.021 GB, free: 7.199 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3241, allocations: 3.938 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.3243, allocations: 49.55 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.3243, allocations: 85.3 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3245, allocations: 160.9 kB / 1.021 GB, free: 6.875 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3245, allocations: 25.7 kB / 1.022 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.3245, allocations: 104 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.383e-06/0.3246, allocations: 7.906 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.3246, allocations: 17.72 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.3247, allocations: 318.8 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.3247, allocations: 4 kB / 1.022 GB, free: 6.383 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.741e-05/0.3248, allocations: 25.7 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.001e-05/0.3248, allocations: 29.66 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3248, allocations: 4 kB / 1.022 GB, free: 6.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.888e-05/0.3249, allocations: 53.55 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.3249, allocations: 7.984 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.3249, allocations: 3.938 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.325, allocations: 8.062 kB / 1.022 GB, free: 6.234 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.325, allocations: 4 kB / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3251, allocations: 0 / 1.022 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.3251, allocations: 11.84 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.3251, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 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.498e-05/0.3252, allocations: 118.4 kB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.3252, allocations: 7.906 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.732e-05/0.3253, allocations: 19.8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.3253, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3253, allocations: 7.938 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3253, allocations: 0 / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3257, allocations: 474.8 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3257, allocations: 0 / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.94e-05/0.3257, allocations: 4 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3257, allocations: 96 / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3257, allocations: 7.984 kB / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3257, allocations: 0 / 1.023 GB, free: 5.52 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3257, allocations: 4.062 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.001e-05/0.3258, allocations: 77.83 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.3259, allocations: 92.94 kB / 1.023 GB, free: 5.309 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.3259, allocations: 4 kB / 1.023 GB, free: 5.305 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.138e-05/0.3259, allocations: 4 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.326, allocations: 4 kB / 1.023 GB, free: 5.297 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-06/0.326, allocations: 4.031 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.935e-05/0.3261, allocations: 121.1 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3261, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001894/0.3263, allocations: 8 kB / 1.023 GB, free: 5.168 MB / 0.795 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.0001056/0.3264, allocations: 95.25 kB / 1.023 GB, free: 5.062 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 9.036e-05/0.3265, allocations: 19.94 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3265, allocations: 0 / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.448e-05/0.3265, allocations: 16.11 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.3267, allocations: 15.88 kB / 1.023 GB, free: 5.012 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003023/0.327, allocations: 150.8 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3272, allocations: 0.6963 MB / 1.024 GB, free: 4.105 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3273, allocations: 8.562 kB / 1.024 GB, free: 4.098 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.3273, allocations: 11.44 kB / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3273, allocations: 0 / 1.024 GB, free: 4.086 MB / 0.795 GB Notification: Performance of Templates: time 0.002462/0.3298, allocations: 454 kB / 1.024 GB, free: 3.645 MB / 0.795 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=480 -s gbode -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/jenkins1/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