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.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.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.001626/0.001626, allocations: 111.1 kB / 16.41 MB, free: 6.027 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.001827/0.001827, allocations: 180.2 kB / 17.34 MB, free: 5.633 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.594/1.594, 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.3-maint.9.1.x/package.mo): time 2.274/2.274, allocations: 390.3 MB / 0.6655 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 67.89 kB / 0.9515 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8302/0.8316, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.001806/0.8335, allocations: 0.8275 MB / 1.089 GB, free: 4.973 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.8336, allocations: 36.91 kB / 1.089 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.866e-05/0.8337, allocations: 6.062 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.725e-05/0.8337, allocations: 5.391 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.809e-05/0.8338, allocations: 18.33 kB / 1.089 GB, free: 4.922 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.43e-05/0.8338, allocations: 16.03 kB / 1.09 GB, free: 4.914 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.834, allocations: 63.25 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.8341, allocations: 42.12 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.487e-05/0.8342, allocations: 25.58 kB / 1.09 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.095e-05/0.8342, allocations: 30.62 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.8343, allocations: 6.375 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.8343, allocations: 5.688 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.928e-05/0.8343, allocations: 15.98 kB / 1.09 GB, free: 4.816 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.428e-05/0.8343, allocations: 33.34 kB / 1.09 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.8345, allocations: 81.66 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8345, allocations: 0 / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8345, allocations: 1.062 kB / 1.09 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.8345, allocations: 3.938 kB / 1.09 GB, free: 4.75 MB / 0.8575 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.0003413/0.8348, allocations: 373.8 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.8349, allocations: 9.906 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.8349, allocations: 14.52 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.8351, allocations: 187.8 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.8351, allocations: 7.656 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.8351, allocations: 17.16 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.8353, allocations: 86.66 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.8353, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.8353, allocations: 9.641 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8353, allocations: 2.219 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.194e-05/0.8354, allocations: 39.48 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004347/0.8358, allocations: 438.1 kB / 1.091 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.222e-05/0.8359, allocations: 41.98 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.443e-05/0.8359, allocations: 20.16 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.8359, allocations: 5.047 kB / 1.091 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.836, allocations: 40.12 kB / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.836, allocations: 0 / 1.091 GB, free: 3.523 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001474/0.8361, allocations: 57.8 kB / 1.091 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.664e-05/0.8362, allocations: 81.62 kB / 1.091 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.8363, allocations: 155.3 kB / 1.091 GB, free: 3.266 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.472e-06/0.8363, allocations: 25.7 kB / 1.091 GB, free: 3.234 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.454e-05/0.8364, allocations: 107.5 kB / 1.091 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.055e-06/0.8364, allocations: 10.45 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.8364, allocations: 17.48 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.8365, allocations: 319.8 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/0.8365, allocations: 4.203 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.911e-05/0.8365, allocations: 23.8 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.8365, allocations: 27.2 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.8366, allocations: 1.156 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.624e-05/0.8366, allocations: 61.64 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.8367, allocations: 5.844 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.8367, allocations: 7.938 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8367, allocations: 1.125 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.8367, allocations: 5.734 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.8368, allocations: 2.484 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.8368, allocations: 5.75 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-06/0.8368, allocations: 1.375 kB / 1.092 GB, free: 2.684 MB / 0.8575 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 5.087e-05/0.8369, allocations: 118.9 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.296e-05/0.8369, allocations: 8.984 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.459e-05/0.8369, allocations: 19.41 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.8369, allocations: 1.828 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.8369, allocations: 1.125 kB / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.837, allocations: 0 / 1.092 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00028/0.8372, allocations: 471 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8373, allocations: 0.7812 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.8373, allocations: 3.766 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.8373, allocations: 0.7812 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.8373, allocations: 1.219 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8373, allocations: 4.625 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.8373, allocations: 1.328 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.142e-05/0.8374, allocations: 88.64 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.8374, allocations: 90.89 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.8374, allocations: 1.734 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.979e-05/0.8375, allocations: 0 / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.8375, allocations: 2.109 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.8375, allocations: 0.9062 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.38e-05/0.8376, allocations: 125.3 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8376, allocations: 0 / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001905/0.8378, allocations: 11.56 kB / 1.093 GB, free: 1.762 MB / 0.8575 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.033e-05/0.8379, allocations: 97.81 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.968e-05/0.838, allocations: 23.66 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.838, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.107e-05/0.838, allocations: 5.25 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.8382, allocations: 19.09 kB / 1.093 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.8384, allocations: 194.7 kB / 1.093 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.8386, allocations: 0.6923 MB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.8386, allocations: 12.86 kB / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.5e-07/0.8386, allocations: 0 / 1.094 GB, free: 16.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.002407/0.8411, allocations: 0.8691 MB / 1.095 GB, free: 16.68 MB / 0.8731 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