Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.To_psi,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001561/0.001561, allocations: 110 kB / 16.37 MB, free: 6.469 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.00176/0.00176, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.401/1.401, 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 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.5 kB / 0.814 GB, free: 32.62 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2797/0.2811, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_psi): time 0.002055/0.2832, allocations: 0.827 MB / 0.9519 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001106/0.2833, allocations: 47.78 kB / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.242e-05/0.2834, allocations: 0 / 0.952 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.964e-05/0.2834, allocations: 15.8 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.2835, allocations: 11.88 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.559e-05/0.2836, allocations: 15.98 kB / 0.952 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.2837, allocations: 63.84 kB / 0.9521 GB, free: 7.102 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001506/0.2838, allocations: 43.95 kB / 0.9521 GB, free: 7.059 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.2839, allocations: 23.88 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.46e-05/0.284, allocations: 27.84 kB / 0.9522 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.284, allocations: 8 kB / 0.9522 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.303e-05/0.284, allocations: 7.938 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.216e-05/0.284, allocations: 15.94 kB / 0.9522 GB, free: 6.977 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.2841, allocations: 31.73 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.2842, allocations: 75.7 kB / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.2842, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2842, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.069e-06/0.2842, allocations: 0 / 0.9523 GB, free: 6.871 MB / 0.7325 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.0004094/0.2846, allocations: 388 kB / 0.9527 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.2847, allocations: 8.031 kB / 0.9527 GB, free: 6.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2847, allocations: 8.844 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001894/0.2849, allocations: 192.2 kB / 0.9529 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.2849, allocations: 8.375 kB / 0.9529 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.285, allocations: 4.375 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.2851, allocations: 102 kB / 0.953 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2851, allocations: 8.125 kB / 0.953 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.2851, allocations: 7.938 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2851, allocations: 4 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.2852, allocations: 31.98 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004871/0.2857, allocations: 436.7 kB / 0.9534 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.533e-05/0.2858, allocations: 37.16 kB / 0.9535 GB, free: 5.492 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.2858, allocations: 25.83 kB / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2858, allocations: 0 / 0.9535 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2859, allocations: 34.5 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.2859, allocations: 0 / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001652/0.286, allocations: 57.55 kB / 0.9536 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.2861, allocations: 81.05 kB / 0.9537 GB, free: 5.258 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.2862, allocations: 167.8 kB / 0.9538 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2863, allocations: 25.7 kB / 0.9539 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.2863, allocations: 107.9 kB / 0.954 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.2863, allocations: 7.906 kB / 0.954 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.2864, allocations: 17.7 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2865, allocations: 327 kB / 0.9543 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.2865, allocations: 8 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.175e-05/0.2865, allocations: 17.7 kB / 0.9543 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.891e-05/0.2866, allocations: 25.72 kB / 0.9543 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2866, allocations: 3.938 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.037e-05/0.2867, allocations: 53.59 kB / 0.9544 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2867, allocations: 12.06 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2867, allocations: 3.938 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.2867, allocations: 0 / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.2868, allocations: 4 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.2868, allocations: 7.938 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.2868, allocations: 11.84 kB / 0.9544 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.2868, allocations: 4 kB / 0.9544 GB, free: 4.418 MB / 0.7325 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 7.275e-05/0.2869, allocations: 115.8 kB / 0.9546 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.421e-05/0.287, allocations: 7.906 kB / 0.9546 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.481e-05/0.287, allocations: 15.8 kB / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.287, allocations: 0 / 0.9546 GB, free: 4.273 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.287, allocations: 4 kB / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.287, allocations: 0 / 0.9546 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003751/0.2874, allocations: 470.8 kB / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.2874, allocations: 0 / 0.955 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.2874, allocations: 4 kB / 0.955 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.2874, allocations: 4.062 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.2875, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2875, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2875, allocations: 0 / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.159e-05/0.2876, allocations: 85.77 kB / 0.9551 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.2876, allocations: 93.08 kB / 0.9552 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.2876, allocations: 4 kB / 0.9552 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.072e-05/0.2877, allocations: 4.031 kB / 0.9552 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.691e-05/0.2877, allocations: 4 kB / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.2877, allocations: 0 / 0.9552 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.896e-05/0.2878, allocations: 122.3 kB / 0.9553 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2878, allocations: 3.938 kB / 0.9553 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001906/0.288, allocations: 8 kB / 0.9553 GB, free: 3.383 MB / 0.7325 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.0001226/0.2881, allocations: 99.25 kB / 0.9554 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001008/0.2882, allocations: 27.92 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2882, allocations: 0 / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.2882, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001585/0.2884, allocations: 11.94 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.2887, allocations: 162.8 kB / 0.9556 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002532/0.289, allocations: 0.7041 MB / 0.9563 GB, free: 2.309 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.228e-05/0.289, allocations: 4.438 kB / 0.9563 GB, free: 2.305 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.62e-05/0.2891, allocations: 11.44 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.2891, allocations: 0 / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of Templates: time 0.002576/0.2916, allocations: 452.5 kB / 0.9568 GB, free: 1.852 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_psi.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_psi.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches