Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001607/0.001607, allocations: 107 kB / 16.36 MB, free: 6.336 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.001941/0.001941, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.17 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.293/2.293, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001392/0.001392, allocations: 63.11 kB / 0.814 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3294, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002638/0.3321, allocations: 0.8271 MB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001217/0.3322, allocations: 43.72 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.109e-05/0.3323, allocations: 8 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.3323, allocations: 7.875 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3324, allocations: 11.81 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.186e-05/0.3325, allocations: 23.97 kB / 0.952 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001044/0.3326, allocations: 59.84 kB / 0.9521 GB, free: 7.082 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3328, allocations: 39.98 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.3329, allocations: 23.92 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.37e-05/0.333, allocations: 31.73 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.907e-05/0.333, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.485e-05/0.333, allocations: 8 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.48e-05/0.333, allocations: 11.92 kB / 0.9522 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.3331, allocations: 35.8 kB / 0.9522 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001181/0.3332, allocations: 79.69 kB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3332, allocations: 0 / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.794e-06/0.3332, allocations: 0 / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3332, allocations: 4 kB / 0.9523 GB, free: 6.848 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.0004743/0.3337, allocations: 380.2 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.3338, allocations: 8.031 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.3338, allocations: 12.78 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/0.334, allocations: 200.1 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.334, allocations: 4.375 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.3341, allocations: 8.375 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.3342, allocations: 99.8 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3343, allocations: 192 / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3343, allocations: 7.938 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3343, allocations: 4 kB / 0.953 GB, free: 6.039 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.3344, allocations: 35.98 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.3349, allocations: 432.6 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.401e-05/0.335, allocations: 41.22 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.335, allocations: 17.78 kB / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.3351, allocations: 96 / 0.9535 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.3351, allocations: 38.5 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.3351, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002402/0.3353, allocations: 65.45 kB / 0.9536 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.3354, allocations: 77.11 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/0.3356, allocations: 167.8 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3357, allocations: 25.7 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.187e-05/0.3357, allocations: 108 kB / 0.9539 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.3358, allocations: 7.906 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.3358, allocations: 13.97 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000227/0.336, allocations: 322.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.832e-05/0.3361, allocations: 11.94 kB / 0.9543 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.21e-05/0.3361, allocations: 13.72 kB / 0.9543 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.3361, allocations: 33.66 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3361, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.652e-05/0.3362, allocations: 57.59 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.3363, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.249e-05/0.3363, allocations: 3.938 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.3364, allocations: 4 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.259e-05/0.3364, allocations: 7.938 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3364, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.067e-05/0.3365, allocations: 11.84 kB / 0.9544 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3365, allocations: 0 / 0.9544 GB, free: 4.406 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.351e-05/0.3366, allocations: 119.8 kB / 0.9545 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.3366, allocations: 15.91 kB / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.826e-05/0.3366, allocations: 15.81 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3367, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3367, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3367, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005777/0.3373, allocations: 470.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3373, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.807e-05/0.3373, allocations: 7.984 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3373, allocations: 4.062 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.3373, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3373, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3373, allocations: 0 / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.447e-05/0.3374, allocations: 77.78 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3375, allocations: 93 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.3375, allocations: 4.031 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.162e-05/0.3375, allocations: 4 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.3375, allocations: 4 kB / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.3375, allocations: 0 / 0.9552 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.017e-05/0.3376, allocations: 122.3 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.3376, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002021/0.3379, allocations: 8 kB / 0.9553 GB, free: 3.367 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.0001135/0.338, allocations: 99.77 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001102/0.3381, allocations: 23.94 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.3381, allocations: 4 kB / 0.9554 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.049e-05/0.3381, allocations: 4 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001603/0.3383, allocations: 14.28 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.3386, allocations: 158.8 kB / 0.9556 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/0.3389, allocations: 0.7003 MB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.92e-05/0.339, allocations: 16.3 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.3391, allocations: 11.44 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.3391, allocations: 0 / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.002893/0.342, allocations: 452.5 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches