Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001412/0.001412, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001707/0.001707, allocations: 201.4 kB / 16.14 MB, free: 6.805 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.537/1.537, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.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.983/2.983, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 76.12 kB / 0.8686 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7428/0.7448, allocations: 151.6 MB / 1.017 GB, free: 3.008 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002383/0.7472, allocations: 0.8808 MB / 1.018 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001124/0.7474, allocations: 39.84 kB / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.7474, allocations: 0 / 1.018 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.29e-05/0.7475, allocations: 11.92 kB / 1.018 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.7476, allocations: 3.938 kB / 1.018 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.16e-05/0.7476, allocations: 19.94 kB / 1.018 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.7477, allocations: 59.78 kB / 1.018 GB, free: 2 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001744/0.7479, allocations: 47.95 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.501e-05/0.748, allocations: 23.86 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.051e-05/0.748, allocations: 23.86 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.7481, allocations: 4 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.159e-05/0.7481, allocations: 4 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.355e-05/0.7481, allocations: 11.92 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/0.7482, allocations: 27.81 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001174/0.7483, allocations: 77.8 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.7483, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of FrontEnd: time 6.71e-07/0.7483, allocations: 0 / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.7483, allocations: 4 kB / 1.018 GB, free: 1.781 MB / 0.7637 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.0005691/0.7489, allocations: 383.1 kB / 1.018 GB, free: 1.355 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.7489, allocations: 12.03 kB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.749, allocations: 12.83 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/0.7493, allocations: 188.2 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.7493, allocations: 4.375 kB / 1.018 GB, free: 1.105 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.7493, allocations: 8.375 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.7496, allocations: 106 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.7496, allocations: 192 / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/0.7496, allocations: 3.938 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/0.7496, allocations: 7.984 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.7497, allocations: 35.97 kB / 1.019 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007289/0.7505, allocations: 444.6 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.7505, allocations: 41.16 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.7506, allocations: 13.78 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.7506, allocations: 4.031 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.5e-05/0.7507, allocations: 42.56 kB / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7507, allocations: 0 / 1.019 GB, free: 324 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001931/0.7509, allocations: 61.38 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/0.7509, allocations: 77.11 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.7512, allocations: 164.1 kB / 1.019 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.7512, allocations: 25.7 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.7513, allocations: 104 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.078e-05/0.7513, allocations: 8.156 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.583e-05/0.7513, allocations: 17.72 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.7515, allocations: 322.8 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.736e-05/0.7515, allocations: 4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.7516, allocations: 21.66 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.613e-05/0.7516, allocations: 29.64 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7516, allocations: 4 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001007/0.7517, allocations: 57.61 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.7518, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.7518, allocations: 3.938 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.7518, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.7519, allocations: 15.92 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.7519, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.7519, allocations: 7.906 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.7519, allocations: 0 / 1.02 GB, free: 15.33 MB / 0.7794 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.494e-05/0.752, allocations: 118.4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.7521, allocations: 7.906 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.021e-05/0.7521, allocations: 15.81 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.7521, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7521, allocations: 3.984 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7521, allocations: 0 / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004661/0.7526, allocations: 470.8 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7526, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.7526, allocations: 4 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.7527, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.7527, allocations: 7.938 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.7527, allocations: 4 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.7527, allocations: 3.984 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001036/0.7528, allocations: 85.8 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.382e-05/0.7529, allocations: 88.95 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.7529, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.7529, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.7529, allocations: 7.984 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.753, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001045/0.7531, allocations: 120.9 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7531, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001823/0.7533, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 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.0001503/0.7534, allocations: 103.3 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.539e-05/0.7535, allocations: 15.94 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.7535, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.087e-05/0.7535, allocations: 8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.7537, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003605/0.7541, allocations: 184.8 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.7545, allocations: 0.6926 MB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.7546, allocations: 12.36 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.752e-05/0.7546, allocations: 19.38 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of SimCode: time 6.51e-07/0.7546, allocations: 3.938 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Templates: time 0.002867/0.7575, allocations: 428.7 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches