Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001116/0.001116, allocations: 109.1 kB / 16.41 MB, free: 6.449 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.001074/0.001074, allocations: 183 kB / 17.34 MB, free: 5.738 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.444/2.444, allocations: 437 MB / 0.7112 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 68.11 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8116/0.8128, allocations: 151.6 MB / 1.167 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_psi): time 0.002681/0.8156, allocations: 0.8373 MB / 1.168 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001376/0.8157, allocations: 39.78 kB / 1.168 GB, free: 3.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.8158, allocations: 4 kB / 1.168 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.68e-05/0.8159, allocations: 7.875 kB / 1.168 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.816, allocations: 15.86 kB / 1.168 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 5.642e-05/0.8161, allocations: 19.98 kB / 1.168 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.8162, allocations: 55.84 kB / 1.168 GB, free: 2.949 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.8164, allocations: 43.98 kB / 1.168 GB, free: 2.906 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.31e-05/0.8165, allocations: 23.91 kB / 1.168 GB, free: 2.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.337e-05/0.8165, allocations: 39.73 kB / 1.168 GB, free: 2.844 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.8166, allocations: 4 kB / 1.168 GB, free: 2.84 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.365e-05/0.8166, allocations: 8 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.694e-05/0.8166, allocations: 11.92 kB / 1.168 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.02e-05/0.8167, allocations: 35.8 kB / 1.168 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.8168, allocations: 72.2 kB / 1.168 GB, free: 2.719 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.774e-06/0.8169, allocations: 4 kB / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.784e-06/0.8169, allocations: 0 / 1.168 GB, free: 2.715 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.8169, allocations: 0 / 1.168 GB, free: 2.715 MB / 0.8887 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.0005005/0.8174, allocations: 379.1 kB / 1.169 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8174, allocations: 16.91 kB / 1.169 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.8175, allocations: 16.84 kB / 1.169 GB, free: 2.262 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002532/0.8178, allocations: 196.1 kB / 1.169 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8178, allocations: 4.375 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.226e-05/0.8178, allocations: 8.375 kB / 1.169 GB, free: 2.02 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.818, allocations: 94.33 kB / 1.169 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8181, allocations: 4.188 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.8181, allocations: 3.938 kB / 1.169 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.8181, allocations: 7.984 kB / 1.169 GB, free: 1.902 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.8182, allocations: 35.98 kB / 1.169 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.8189, allocations: 432.7 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.819, allocations: 45.22 kB / 1.17 GB, free: 1.328 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.819, allocations: 17.78 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.8191, allocations: 3.938 kB / 1.17 GB, free: 1.301 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.8191, allocations: 42.58 kB / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/0.8191, allocations: 0 / 1.17 GB, free: 1.25 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0002166/0.8193, allocations: 57.72 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.8194, allocations: 77.11 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001938/0.8196, allocations: 160.5 kB / 1.17 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.8196, allocations: 25.7 kB / 1.17 GB, free: 0.8984 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.358e-05/0.8197, allocations: 108 kB / 1.17 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.315e-05/0.8197, allocations: 11.95 kB / 1.17 GB, free: 0.7773 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.8198, allocations: 13.72 kB / 1.17 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.82, allocations: 318.8 kB / 1.17 GB, free: 448 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.49e-05/0.82, allocations: 12.06 kB / 1.17 GB, free: 436 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.098e-05/0.82, allocations: 17.7 kB / 1.171 GB, free: 412 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.99e-05/0.8201, allocations: 33.64 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.8201, allocations: 0 / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001114/0.8202, allocations: 57.61 kB / 1.171 GB, free: 308 kB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.8203, allocations: 6.344 kB / 1.171 GB, free: 304 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.8203, allocations: 8 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8203, allocations: 4 kB / 1.171 GB, free: 292 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.873e-05/0.8204, allocations: 11.92 kB / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8204, allocations: 0 / 1.171 GB, free: 280 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.8205, allocations: 7.938 kB / 1.171 GB, free: 272 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.8205, allocations: 3.938 kB / 1.171 GB, free: 268 kB / 0.8887 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 9.802e-05/0.8206, allocations: 113.8 kB / 1.171 GB, free: 144 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/0.8206, allocations: 7.953 kB / 1.171 GB, free: 136 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.081e-05/0.8207, allocations: 19.81 kB / 1.171 GB, free: 108 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.8207, allocations: 3.984 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8207, allocations: 0 / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.8207, allocations: 0 / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005072/0.8212, allocations: 474.7 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.8212, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.8213, allocations: 4 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8213, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.8213, allocations: 8.062 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.8213, allocations: 0 / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.8213, allocations: 4 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.8214, allocations: 81.81 kB / 1.171 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.569e-05/0.8215, allocations: 89.06 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.8216, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.8216, allocations: 4.031 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.8216, allocations: 7.984 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.8216, allocations: 0 / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001125/0.8218, allocations: 123.2 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8218, allocations: 0 / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002895/0.8221, allocations: 8 kB / 1.172 GB, free: 15.21 MB / 0.9044 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.0001421/0.8222, allocations: 95.25 kB / 1.172 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.8223, allocations: 23.94 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8223, allocations: 0 / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-05/0.8224, allocations: 8 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.8226, allocations: 11.94 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.823, allocations: 188.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.8233, allocations: 0.6926 MB / 1.173 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.8233, allocations: 11.44 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of SimCode: time 3.11e-07/0.8233, allocations: 3.938 kB / 1.173 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of Templates: time 0.002964/0.8263, allocations: 0.8677 MB / 1.173 GB, free: 13.24 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches