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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001091/0.001091, allocations: 112.6 kB / 16.37 MB, free: 6 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.00107/0.00107, allocations: 196 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.495/2.495, allocations: 437.1 MB / 0.7112 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 66.69 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3221, allocations: 151.6 MB / 1.019 GB, free: 9.902 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002378/0.3246, allocations: 0.8333 MB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001053/0.3247, allocations: 39.84 kB / 1.02 GB, free: 9.027 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.3247, allocations: 4 kB / 1.02 GB, free: 9.023 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.56e-05/0.3248, allocations: 7.875 kB / 1.02 GB, free: 9.016 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.742e-05/0.3249, allocations: 15.86 kB / 1.02 GB, free: 9 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 3.69e-05/0.3249, allocations: 15.98 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.46e-05/0.325, allocations: 59.75 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.229e-05/0.3251, allocations: 51.97 kB / 1.02 GB, free: 8.875 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.696e-05/0.3251, allocations: 31.8 kB / 1.02 GB, free: 8.844 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.702e-05/0.3252, allocations: 27.8 kB / 1.02 GB, free: 8.816 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.3252, allocations: 4 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 8.617e-06/0.3252, allocations: 8 kB / 1.02 GB, free: 8.805 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.893e-05/0.3252, allocations: 15.91 kB / 1.02 GB, free: 8.789 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.3253, allocations: 31.81 kB / 1.02 GB, free: 8.758 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.376e-05/0.3253, allocations: 83.64 kB / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.3254, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3254, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.156e-06/0.3254, allocations: 0 / 1.02 GB, free: 8.676 MB / 0.795 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.0003164/0.3257, allocations: 371.2 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.449e-05/0.3257, allocations: 8.922 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.3258, allocations: 12.83 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001689/0.3259, allocations: 196.1 kB / 1.021 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3259, allocations: 4.375 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.326, allocations: 16.31 kB / 1.021 GB, free: 7.992 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3261, allocations: 91.86 kB / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.38e-06/0.3261, allocations: 192 / 1.021 GB, free: 7.891 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-06/0.3261, allocations: 3.938 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3261, allocations: 4 kB / 1.021 GB, free: 7.883 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.415e-05/0.3262, allocations: 43.91 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.3267, allocations: 436.5 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.3267, allocations: 41.25 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.912e-05/0.3267, allocations: 17.78 kB / 1.021 GB, free: 7.277 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-06/0.3268, allocations: 7.922 kB / 1.021 GB, free: 7.27 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3268, allocations: 38.56 kB / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3268, allocations: 0 / 1.021 GB, free: 7.223 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001263/0.3269, allocations: 57.47 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.327, allocations: 77.11 kB / 1.021 GB, free: 7.066 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3271, allocations: 161.1 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.267e-05/0.3271, allocations: 25.7 kB / 1.022 GB, free: 6.871 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.131e-05/0.3272, allocations: 108.2 kB / 1.022 GB, free: 6.762 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.3272, allocations: 11.91 kB / 1.022 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/0.3272, allocations: 13.72 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3273, allocations: 318.8 kB / 1.022 GB, free: 6.41 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.599e-05/0.3274, allocations: 8 kB / 1.022 GB, free: 6.402 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.981e-05/0.3274, allocations: 17.66 kB / 1.022 GB, free: 6.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.893e-05/0.3274, allocations: 37.7 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3274, allocations: 0 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.221e-05/0.3275, allocations: 53.55 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 9.638e-06/0.3275, allocations: 4 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3275, allocations: 7.938 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.3276, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.581e-05/0.3276, allocations: 7.984 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.3276, allocations: 0 / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.532e-05/0.3277, allocations: 15.84 kB / 1.022 GB, free: 6.242 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-06/0.3277, allocations: 3.984 kB / 1.022 GB, free: 6.238 MB / 0.795 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.913e-05/0.3277, allocations: 120.3 kB / 1.022 GB, free: 6.113 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3278, allocations: 7.906 kB / 1.022 GB, free: 6.105 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.3278, allocations: 15.81 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3278, allocations: 0 / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3278, allocations: 3.984 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-06/0.3278, allocations: 0 / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.3282, allocations: 478.8 kB / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3282, allocations: 0 / 1.023 GB, free: 5.555 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.731e-05/0.3282, allocations: 4 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3282, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.3282, allocations: 4 kB / 1.023 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3282, allocations: 3.938 kB / 1.023 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3283, allocations: 3.938 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.72e-05/0.3283, allocations: 81.89 kB / 1.023 GB, free: 5.438 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/0.3284, allocations: 89.02 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.089e-05/0.3284, allocations: 0 / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.082e-05/0.3284, allocations: 3.938 kB / 1.023 GB, free: 5.328 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.918e-06/0.3284, allocations: 7.984 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3285, allocations: 0 / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.3285, allocations: 121.5 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3285, allocations: 0 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001838/0.3287, allocations: 8 kB / 1.023 GB, free: 5.195 MB / 0.795 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.569e-05/0.3288, allocations: 103.2 kB / 1.023 GB, free: 5.082 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.967e-05/0.3289, allocations: 16 kB / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.3289, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.289e-05/0.3289, allocations: 11.94 kB / 1.023 GB, free: 5.055 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000135/0.3291, allocations: 14.44 kB / 1.023 GB, free: 5.043 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.3294, allocations: 159.1 kB / 1.023 GB, free: 4.852 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.3296, allocations: 0.6929 MB / 1.024 GB, free: 4.133 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.539e-05/0.3296, allocations: 8.422 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.82e-05/0.3297, allocations: 11.44 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3297, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of Templates: time 0.002327/0.332, allocations: 454.2 kB / 1.024 GB, free: 3.672 MB / 0.795 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=480 -s gbode -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/jenkins1/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