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.001728/0.001728, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002089/0.002089, allocations: 199.8 kB / 16.26 MB, free: 6.629 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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.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.397/2.397, allocations: 390.2 MB / 0.6643 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 68.08 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7226/0.724, allocations: 140.4 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002265/0.7263, allocations: 0.8869 MB / 0.95 GB, free: 8.449 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001078/0.7265, allocations: 39.91 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.7265, allocations: 1.375 kB / 0.95 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.305e-05/0.7266, allocations: 9.297 kB / 0.95 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.247e-05/0.7267, allocations: 7.938 kB / 0.95 GB, free: 8.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.423e-05/0.7267, allocations: 12.12 kB / 0.95 GB, free: 8.391 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001082/0.7268, allocations: 55.28 kB / 0.9501 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.727, allocations: 56.33 kB / 0.9501 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.199e-05/0.7271, allocations: 24.17 kB / 0.9502 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.7271, allocations: 27.92 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.7271, allocations: 6.875 kB / 0.9502 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.18e-05/0.7272, allocations: 9.5 kB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.153e-05/0.7272, allocations: 14.67 kB / 0.9502 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.832e-05/0.7272, allocations: 38.66 kB / 0.9503 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001008/0.7273, allocations: 70.06 kB / 0.9503 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.7273, allocations: 0 / 0.9503 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.404e-06/0.7274, allocations: 1.375 kB / 0.9503 GB, free: 8.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.7274, allocations: 0 / 0.9503 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.0004228/0.7278, allocations: 378.8 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.7278, allocations: 8.938 kB / 0.9507 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.7279, allocations: 13.47 kB / 0.9507 GB, free: 7.773 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.7281, allocations: 189.6 kB / 0.9509 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.7281, allocations: 8.031 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.7281, allocations: 4.781 kB / 0.9509 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001824/0.7283, allocations: 100 kB / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7283, allocations: 192 / 0.951 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.7284, allocations: 5.344 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7284, allocations: 2.531 kB / 0.951 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.533e-05/0.7284, allocations: 39.55 kB / 0.951 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004782/0.7289, allocations: 437 kB / 0.9515 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.548e-05/0.729, allocations: 40.97 kB / 0.9515 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.712e-05/0.729, allocations: 24.06 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.729, allocations: 0 / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.7291, allocations: 39.89 kB / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.7291, allocations: 0 / 0.9516 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001709/0.7292, allocations: 54.36 kB / 0.9516 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.7293, allocations: 82.55 kB / 0.9517 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.7294, allocations: 163.6 kB / 0.9518 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.7295, allocations: 26.92 kB / 0.9519 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.831e-05/0.7295, allocations: 112.2 kB / 0.952 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.176e-05/0.7295, allocations: 7.906 kB / 0.952 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.7296, allocations: 13.84 kB / 0.952 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.303e-05/0.7297, allocations: 322 kB / 0.9523 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.7297, allocations: 7.219 kB / 0.9523 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.7297, allocations: 21.8 kB / 0.9523 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.7297, allocations: 29.97 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7298, allocations: 1.156 kB / 0.9524 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.413e-05/0.7298, allocations: 51.11 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.7299, allocations: 5.344 kB / 0.9524 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7299, allocations: 3.938 kB / 0.9524 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7299, allocations: 5.922 kB / 0.9524 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.623e-05/0.73, allocations: 12.59 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.73, allocations: 1.938 kB / 0.9524 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.73, allocations: 5.719 kB / 0.9524 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.73, allocations: 1.406 kB / 0.9524 GB, free: 6.012 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.041e-05/0.7301, allocations: 109.5 kB / 0.9525 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.218e-05/0.7301, allocations: 11.5 kB / 0.9526 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.7302, allocations: 14.08 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.7302, allocations: 1.312 kB / 0.9526 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.7302, allocations: 5.375 kB / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.7302, allocations: 0 / 0.9526 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.7305, allocations: 474.8 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7305, allocations: 0 / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.7305, allocations: 3.906 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.7305, allocations: 0 / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.7305, allocations: 5.188 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7305, allocations: 1.156 kB / 0.953 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.7305, allocations: 4.062 kB / 0.953 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.502e-05/0.7306, allocations: 82.86 kB / 0.9531 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.7307, allocations: 92.11 kB / 0.9532 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.7307, allocations: 5.203 kB / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.951e-05/0.7307, allocations: 96 / 0.9532 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.517e-05/0.7307, allocations: 9.734 kB / 0.9532 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.7307, allocations: 6.219 kB / 0.9532 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.7308, allocations: 118.9 kB / 0.9533 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7308, allocations: 3.938 kB / 0.9533 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001874/0.731, allocations: 6.75 kB / 0.9534 GB, free: 5.055 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 0.0001148/0.7311, allocations: 100.9 kB / 0.9534 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.7312, allocations: 19 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.7312, allocations: 128 / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.074e-05/0.7313, allocations: 8.219 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001644/0.7314, allocations: 14.7 kB / 0.9535 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.7317, allocations: 181.2 kB / 0.9537 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001326/0.7319, allocations: 0.6949 MB / 0.9543 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.7319, allocations: 8.109 kB / 0.9543 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.485e-05/0.732, allocations: 12.62 kB / 0.9544 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.732, allocations: 3.938 kB / 0.9544 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of Templates: time 0.002693/0.7347, allocations: 447.5 kB / 0.9548 GB, free: 3.82 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/jenkins/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