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.009322/0.009322, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.002129/0.002129, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.399/1.399, allocations: 222.9 MB / 240.5 MB, free: 4.578 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.424/2.424, allocations: 390.2 MB / 0.6649 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.00175, allocations: 63.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7183/0.72, allocations: 140.4 MB / 0.9496 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.001995/0.7221, allocations: 0.881 MB / 0.9504 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001022/0.7222, allocations: 42.06 kB / 0.9505 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.159e-05/0.7223, allocations: 1.531 kB / 0.9505 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.098e-05/0.7223, allocations: 7.938 kB / 0.9505 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.54e-05/0.7224, allocations: 11.92 kB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.099e-05/0.7225, allocations: 16.31 kB / 0.9505 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.067e-05/0.7226, allocations: 58.47 kB / 0.9506 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.7227, allocations: 39.06 kB / 0.9506 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.564e-05/0.7228, allocations: 28.05 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.7228, allocations: 23.98 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.7228, allocations: 4.125 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.7229, allocations: 4.125 kB / 0.9507 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.098e-05/0.7229, allocations: 18.66 kB / 0.9507 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.529e-05/0.7229, allocations: 29.31 kB / 0.9507 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.58e-05/0.723, allocations: 48.88 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.723, allocations: 0 / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.723, allocations: 7.938 kB / 0.9508 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.723, allocations: 1.375 kB / 0.9508 GB, free: 8.371 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.0003575/0.7234, allocations: 377.1 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.7234, allocations: 9.625 kB / 0.9511 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.7235, allocations: 10.34 kB / 0.9512 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.7237, allocations: 197.8 kB / 0.9513 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.7237, allocations: 7.109 kB / 0.9513 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.7237, allocations: 9.875 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.7238, allocations: 95.73 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.7238, allocations: 192 / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.7239, allocations: 9.312 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.7239, allocations: 1.375 kB / 0.9515 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.86e-05/0.7239, allocations: 35.23 kB / 0.9515 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000398/0.7243, allocations: 437.9 kB / 0.9519 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.7244, allocations: 37.27 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.7244, allocations: 19.22 kB / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.588e-06/0.7244, allocations: 0 / 0.952 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.303e-05/0.7245, allocations: 39.97 kB / 0.952 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.7245, allocations: 5.359 kB / 0.952 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00015/0.7246, allocations: 57.86 kB / 0.9521 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.7247, allocations: 82.47 kB / 0.9521 GB, free: 6.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.7248, allocations: 155.2 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.573e-06/0.7248, allocations: 25.7 kB / 0.9523 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.141e-05/0.7248, allocations: 113.2 kB / 0.9524 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.855e-06/0.7248, allocations: 9.344 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/0.7249, allocations: 20.48 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.7249, allocations: 317.8 kB / 0.9528 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.795e-05/0.725, allocations: 6.547 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.725, allocations: 22.62 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.718e-05/0.725, allocations: 31.38 kB / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.725, allocations: 0 / 0.9528 GB, free: 6.262 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.325e-05/0.7251, allocations: 58.56 kB / 0.9529 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.7251, allocations: 9.312 kB / 0.9529 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.7251, allocations: 5.312 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.7252, allocations: 0 / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.7252, allocations: 6.406 kB / 0.9529 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7252, allocations: 3.938 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.764e-05/0.7253, allocations: 2 kB / 0.9529 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.7253, allocations: 2 kB / 0.9529 GB, free: 6.203 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 6.165e-05/0.7253, allocations: 117.9 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.7254, allocations: 8.188 kB / 0.953 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.7254, allocations: 19.02 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.7254, allocations: 0 / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7254, allocations: 0 / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.7254, allocations: 1.188 kB / 0.953 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.7257, allocations: 473.9 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.7257, allocations: 1.406 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.803e-05/0.7257, allocations: 3.344 kB / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.7258, allocations: 0 / 0.9535 GB, free: 5.559 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.7258, allocations: 5.688 kB / 0.9535 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.7258, allocations: 3.984 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.7258, allocations: 1.312 kB / 0.9535 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.73e-05/0.7259, allocations: 86.28 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.304e-05/0.7259, allocations: 91.56 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.7259, allocations: 1.094 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.7259, allocations: 1.156 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.726, allocations: 0.9375 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-06/0.726, allocations: 1.375 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.635e-05/0.726, allocations: 124.6 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.726, allocations: 1.438 kB / 0.9538 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001913/0.7262, allocations: 6.469 kB / 0.9538 GB, free: 5.254 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 9.744e-05/0.7263, allocations: 102.9 kB / 0.9539 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.402e-05/0.7264, allocations: 22.33 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.7264, allocations: 0 / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.003e-05/0.7264, allocations: 3.781 kB / 0.9539 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.7266, allocations: 11.81 kB / 0.9539 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.7269, allocations: 209 kB / 0.9541 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.979e-05/0.727, allocations: 0.6949 MB / 0.9548 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.727, allocations: 11.31 kB / 0.9548 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of SimCode: time 2e-07/0.727, allocations: 7.938 kB / 0.9548 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of Templates: time 0.00205/0.7291, allocations: 0.8431 MB / 0.9557 GB, free: 3.785 MB / 0.7169 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