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.008076/0.008076, allocations: 101.6 kB / 15.88 MB, free: 6.328 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.002356/0.002356, allocations: 193.9 kB / 16.79 MB, free: 6.254 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.408/1.408, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.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.353/2.353, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001429/0.001429, allocations: 59.91 kB / 0.8125 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6164/0.6179, allocations: 140.4 MB / 0.9496 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001931/0.6198, allocations: 0.8807 MB / 0.9504 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.349e-05/0.62, allocations: 41.11 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.647e-05/0.62, allocations: 2.562 kB / 0.9505 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.866e-05/0.6201, allocations: 3.938 kB / 0.9505 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.95e-05/0.6201, allocations: 7.938 kB / 0.9505 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.061e-05/0.6202, allocations: 15.92 kB / 0.9505 GB, free: 8.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.6203, allocations: 62.55 kB / 0.9506 GB, free: 8.324 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.6204, allocations: 39.22 kB / 0.9506 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.394e-05/0.6205, allocations: 26.44 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.304e-05/0.6205, allocations: 25.22 kB / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.6205, allocations: 4.281 kB / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.6206, allocations: 3.156 kB / 0.9507 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.951e-05/0.6206, allocations: 14.16 kB / 0.9507 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.831e-05/0.6206, allocations: 35.33 kB / 0.9507 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.919e-05/0.6207, allocations: 51.42 kB / 0.9508 GB, free: 8.184 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.6207, allocations: 5.469 kB / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6207, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6207, allocations: 0 / 0.9508 GB, free: 8.18 MB / 0.7169 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.0003367/0.6211, allocations: 377.9 kB / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6211, allocations: 9.875 kB / 0.9511 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.627e-05/0.6211, allocations: 13.16 kB / 0.9512 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.6213, allocations: 194 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6213, allocations: 4.188 kB / 0.9513 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.6213, allocations: 13.72 kB / 0.9514 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001301/0.6215, allocations: 89.16 kB / 0.9514 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6215, allocations: 4.125 kB / 0.9514 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.6215, allocations: 9.344 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.6215, allocations: 1.062 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.6216, allocations: 40.11 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.622, allocations: 441.7 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.1e-05/0.622, allocations: 36.72 kB / 0.9519 GB, free: 6.949 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.6221, allocations: 20.2 kB / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.785e-06/0.6221, allocations: 0 / 0.952 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.6221, allocations: 48.14 kB / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.6221, allocations: 0 / 0.952 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001583/0.6223, allocations: 50.8 kB / 0.9521 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.6223, allocations: 82.55 kB / 0.9521 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6224, allocations: 160 kB / 0.9523 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.953e-06/0.6224, allocations: 30.86 kB / 0.9523 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.6225, allocations: 111.8 kB / 0.9524 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.903e-06/0.6225, allocations: 5.156 kB / 0.9524 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.6225, allocations: 17.44 kB / 0.9525 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.154e-05/0.6226, allocations: 321.4 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.598e-05/0.6226, allocations: 3.062 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.133e-05/0.6226, allocations: 22.48 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.707e-05/0.6227, allocations: 31.53 kB / 0.9528 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6227, allocations: 3.938 kB / 0.9528 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.684e-05/0.6227, allocations: 54.52 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.6227, allocations: 5 kB / 0.9529 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.6228, allocations: 5.5 kB / 0.9529 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.6228, allocations: 3.984 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.6228, allocations: 5.844 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6228, allocations: 5.469 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.6229, allocations: 1.688 kB / 0.9529 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.6229, allocations: 5.625 kB / 0.9529 GB, free: 6.004 MB / 0.7169 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 4.602e-05/0.6229, allocations: 112.6 kB / 0.953 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.064e-05/0.623, allocations: 8.625 kB / 0.953 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.302e-05/0.623, allocations: 18.73 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.623, allocations: 0 / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.623, allocations: 1.188 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.623, allocations: 5.281 kB / 0.953 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000279/0.6233, allocations: 473.5 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6233, allocations: 1.438 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.753e-05/0.6233, allocations: 2.75 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.6234, allocations: 1.25 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-06/0.6234, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.6234, allocations: 1.469 kB / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.6234, allocations: 0 / 0.9535 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.878e-05/0.6234, allocations: 91.33 kB / 0.9536 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.956e-05/0.6235, allocations: 87.7 kB / 0.9537 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.6235, allocations: 9.297 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.918e-05/0.6235, allocations: 0 / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.6235, allocations: 1.375 kB / 0.9537 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-06/0.6235, allocations: 5.375 kB / 0.9537 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.213e-05/0.6236, allocations: 118.6 kB / 0.9538 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6236, allocations: 4.031 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000179/0.6238, allocations: 6.875 kB / 0.9538 GB, free: 5.051 MB / 0.7169 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 8.872e-05/0.6239, allocations: 97.12 kB / 0.9539 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.577e-05/0.624, allocations: 18.94 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.624, allocations: 0 / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.624, allocations: 4.125 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.6241, allocations: 18.61 kB / 0.9539 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002521/0.6244, allocations: 205 kB / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.553e-05/0.6245, allocations: 0.6954 MB / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.6245, allocations: 11.28 kB / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6245, allocations: 0 / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of Templates: time 0.001942/0.6265, allocations: 0.8472 MB / 0.9557 GB, free: 3.59 MB / 0.7169 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 -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