Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 109.7 kB / 16.37 MB, free: 6.477 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.001947/0.001947, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.29/2.29, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 68.3 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3302, allocations: 140.4 MB / 0.9511 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002357/0.3326, allocations: 0.8327 MB / 0.9519 GB, free: 7.27 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001342/0.3327, allocations: 43.78 kB / 0.952 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.052e-05/0.3328, allocations: 0 / 0.952 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.99e-05/0.3329, allocations: 7.875 kB / 0.952 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.726e-05/0.333, allocations: 11.88 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.185e-05/0.333, allocations: 19.97 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001232/0.3331, allocations: 59.84 kB / 0.9521 GB, free: 7.129 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.3333, allocations: 35.98 kB / 0.9521 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.01e-05/0.3334, allocations: 35.78 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.496e-05/0.3335, allocations: 27.86 kB / 0.9522 GB, free: 7.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.3335, allocations: 8 kB / 0.9522 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.3335, allocations: 8 kB / 0.9522 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.3335, allocations: 15.92 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.3336, allocations: 31.75 kB / 0.9522 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001319/0.3337, allocations: 79.62 kB / 0.9523 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3337, allocations: 0 / 0.9523 GB, free: 6.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.3338, allocations: 7.938 kB / 0.9523 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.3338, allocations: 0 / 0.9523 GB, free: 6.883 MB / 0.7325 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.0005129/0.3343, allocations: 375.2 kB / 0.9527 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.3343, allocations: 16.03 kB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.3344, allocations: 8.844 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3346, allocations: 192.2 kB / 0.9529 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3347, allocations: 4.375 kB / 0.9529 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.899e-05/0.3347, allocations: 8.375 kB / 0.9529 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3349, allocations: 95.8 kB / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.3349, allocations: 192 / 0.953 GB, free: 6.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.3349, allocations: 7.938 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.3349, allocations: 8 kB / 0.953 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.335, allocations: 35.92 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006386/0.3357, allocations: 432.7 kB / 0.9535 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.367e-05/0.3357, allocations: 37.25 kB / 0.9535 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.121e-05/0.3358, allocations: 21.78 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 8.576e-06/0.3358, allocations: 0 / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.3358, allocations: 34.56 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.3358, allocations: 0 / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001973/0.336, allocations: 57.47 kB / 0.9536 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.3361, allocations: 77.36 kB / 0.9537 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.3363, allocations: 172.8 kB / 0.9538 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3363, allocations: 25.7 kB / 0.9539 GB, free: 5.082 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.3364, allocations: 104 kB / 0.954 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.316e-05/0.3364, allocations: 15.89 kB / 0.954 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3364, allocations: 13.72 kB / 0.954 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3366, allocations: 322.8 kB / 0.9543 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.3366, allocations: 8 kB / 0.9543 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.373e-05/0.3366, allocations: 17.72 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.376e-05/0.3367, allocations: 29.66 kB / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3367, allocations: 0 / 0.9543 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.421e-05/0.3368, allocations: 61.53 kB / 0.9544 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3368, allocations: 4 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.3368, allocations: 3.938 kB / 0.9544 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3369, allocations: 4 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.3369, allocations: 8.062 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3369, allocations: 7.984 kB / 0.9544 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.337, allocations: 15.84 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-06/0.337, allocations: 0 / 0.9544 GB, free: 4.441 MB / 0.7325 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.78e-05/0.3371, allocations: 109.8 kB / 0.9546 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.431e-05/0.3372, allocations: 15.84 kB / 0.9546 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.3372, allocations: 11.81 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-06/0.3372, allocations: 0 / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3372, allocations: 0 / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.3372, allocations: 4 kB / 0.9546 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.3377, allocations: 474.8 kB / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3377, allocations: 0 / 0.955 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.3377, allocations: 4 kB / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3377, allocations: 0 / 0.955 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.3377, allocations: 4 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3377, allocations: 0 / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3377, allocations: 8 kB / 0.955 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.3378, allocations: 77.83 kB / 0.9551 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.3379, allocations: 89.11 kB / 0.9552 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.3379, allocations: 3.984 kB / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.916e-05/0.338, allocations: 0 / 0.9552 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.338, allocations: 4 kB / 0.9552 GB, free: 3.539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.338, allocations: 8.016 kB / 0.9552 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001015/0.3381, allocations: 117.3 kB / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3381, allocations: 0 / 0.9553 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001847/0.3383, allocations: 8 kB / 0.9553 GB, free: 3.41 MB / 0.7325 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.0001264/0.3384, allocations: 103.2 kB / 0.9554 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.33e-05/0.3385, allocations: 23.88 kB / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3385, allocations: 0 / 0.9555 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.027e-05/0.3386, allocations: 8.125 kB / 0.9555 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.3387, allocations: 10 kB / 0.9555 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.3391, allocations: 170.7 kB / 0.9556 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.3394, allocations: 0.6961 MB / 0.9563 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.547e-05/0.3394, allocations: 8.547 kB / 0.9563 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.3395, allocations: 15.44 kB / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.3395, allocations: 0 / 0.9563 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of Templates: time 0.002805/0.3423, allocations: 456.4 kB / 0.9568 GB, free: 1.867 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches