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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001418/0.001418, allocations: 104.7 kB / 15.99 MB, free: 6.348 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.001437/0.001437, allocations: 199 kB / 16.91 MB, free: 6.188 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.294/2.294, allocations: 390.2 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 66.05 kB / 0.8127 GB, free: 32.34 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3166, allocations: 140.4 MB / 0.9498 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002379/0.319, allocations: 0.8862 MB / 0.9506 GB, free: 8.348 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.3192, allocations: 43.78 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.349e-05/0.3192, allocations: 0 / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.852e-05/0.3193, allocations: 7.922 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.565e-05/0.3194, allocations: 4 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.639e-05/0.3195, allocations: 12 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3196, allocations: 67.78 kB / 0.9508 GB, free: 8.215 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.3198, allocations: 43.95 kB / 0.9508 GB, free: 8.172 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.3198, allocations: 31.86 kB / 0.9508 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.3199, allocations: 23.86 kB / 0.9509 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.3199, allocations: 8 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.142e-05/0.3199, allocations: 4 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.124e-05/0.32, allocations: 15.92 kB / 0.9509 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.09e-05/0.32, allocations: 39.73 kB / 0.9509 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.535e-05/0.3201, allocations: 56.17 kB / 0.951 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3201, allocations: 0 / 0.951 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3201, allocations: 0 / 0.951 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.3201, allocations: 0 / 0.951 GB, free: 7.996 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.0004475/0.3206, allocations: 379.2 kB / 0.9513 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3206, allocations: 8.031 kB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3207, allocations: 12.78 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3209, allocations: 192.2 kB / 0.9515 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.3209, allocations: 8.359 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.321, allocations: 8.375 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3211, allocations: 99.8 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3212, allocations: 192 / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3212, allocations: 7.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.3212, allocations: 4 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.3213, allocations: 39.92 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.3218, allocations: 432.7 kB / 0.9521 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.785e-05/0.3219, allocations: 45.25 kB / 0.9522 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.322, allocations: 17.78 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.322, allocations: 4 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.322, allocations: 30.56 kB / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.322, allocations: 0 / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001785/0.3222, allocations: 61.47 kB / 0.9523 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.3222, allocations: 77.11 kB / 0.9523 GB, free: 6.387 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.3224, allocations: 168.4 kB / 0.9525 GB, free: 6.215 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3224, allocations: 29.7 kB / 0.9525 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.548e-05/0.3225, allocations: 107.9 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.137e-06/0.3225, allocations: 3.906 kB / 0.9526 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.3225, allocations: 17.72 kB / 0.9527 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.3227, allocations: 323.1 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.3227, allocations: 4 kB / 0.953 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.341e-05/0.3227, allocations: 17.72 kB / 0.953 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.298e-05/0.3228, allocations: 33.66 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3228, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.13e-05/0.3229, allocations: 57.53 kB / 0.9531 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.3229, allocations: 8.062 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3229, allocations: 11.94 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3229, allocations: 0 / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.544e-05/0.323, allocations: 4 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.323, allocations: 3.938 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.323, allocations: 15.83 kB / 0.9531 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.459e-06/0.323, allocations: 0 / 0.9531 GB, free: 5.547 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 8.073e-05/0.3231, allocations: 115.8 kB / 0.9532 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.3232, allocations: 7.906 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.3232, allocations: 19.81 kB / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3232, allocations: 0 / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3232, allocations: 0 / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.3232, allocations: 4 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003815/0.3236, allocations: 470.8 kB / 0.9537 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.3236, allocations: 4 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.3237, allocations: 0 / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3237, allocations: 8.062 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3237, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3237, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.3237, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.511e-05/0.3238, allocations: 81.77 kB / 0.9538 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.117e-05/0.3238, allocations: 89.02 kB / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.302e-05/0.3239, allocations: 0 / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.3239, allocations: 4.031 kB / 0.9539 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.3239, allocations: 4 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-06/0.3239, allocations: 0 / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.509e-05/0.324, allocations: 121.3 kB / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.324, allocations: 0 / 0.954 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001915/0.3242, allocations: 8 kB / 0.954 GB, free: 4.52 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.0001136/0.3243, allocations: 99.23 kB / 0.9541 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.248e-05/0.3244, allocations: 23.94 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3244, allocations: 0 / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.3244, allocations: 8 kB / 0.9541 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.3246, allocations: 20.03 kB / 0.9542 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.325, allocations: 212.7 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.3252, allocations: 0.6922 MB / 0.955 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.548e-05/0.3252, allocations: 11.44 kB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.3253, allocations: 4 kB / 0.955 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of Templates: time 0.002341/0.3276, allocations: 0.8638 MB / 0.9559 GB, free: 2.52 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 -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