Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.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_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 107.3 kB / 15.99 MB, free: 5.91 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.001262/0.001262, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.22 MB / 206.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.304/2.304, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 63.94 kB / 0.8127 GB, free: 33.14 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2714, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O): time 0.002487/0.274, allocations: 0.89 MB / 0.9506 GB, free: 8.332 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001346/0.2741, allocations: 43.78 kB / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.923e-05/0.2742, allocations: 0 / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.462e-05/0.2743, allocations: 7.938 kB / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.259e-05/0.2744, allocations: 0 / 0.9507 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 6.739e-05/0.2744, allocations: 15.98 kB / 0.9507 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2746, allocations: 67.78 kB / 0.9508 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.2747, allocations: 39.95 kB / 0.9508 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.2748, allocations: 27.92 kB / 0.9508 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.2749, allocations: 27.8 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.2749, allocations: 8 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-06/0.2749, allocations: 4 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.356e-05/0.2749, allocations: 19.92 kB / 0.9509 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.044e-05/0.275, allocations: 35.75 kB / 0.9509 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.296e-05/0.2751, allocations: 48.17 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2751, allocations: 4 kB / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.923e-06/0.2751, allocations: 0 / 0.951 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.2751, allocations: 0 / 0.951 GB, free: 7.988 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.0004253/0.2755, allocations: 379.1 kB / 0.9513 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.2756, allocations: 12.03 kB / 0.9513 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.2756, allocations: 8.844 kB / 0.9514 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.2758, allocations: 196.1 kB / 0.9515 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2758, allocations: 4.375 kB / 0.9515 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.112e-05/0.2759, allocations: 12.38 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.276, allocations: 99.78 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2761, allocations: 4.188 kB / 0.9517 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.2761, allocations: 7.938 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2761, allocations: 4 kB / 0.9517 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.2762, allocations: 43.86 kB / 0.9517 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005422/0.2767, allocations: 428.7 kB / 0.9521 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.844e-05/0.2768, allocations: 41.25 kB / 0.9522 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.752e-05/0.2768, allocations: 21.77 kB / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-06/0.2769, allocations: 0 / 0.9522 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.2769, allocations: 34.56 kB / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.2769, allocations: 0 / 0.9522 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001745/0.2771, allocations: 57.48 kB / 0.9523 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2771, allocations: 81.11 kB / 0.9523 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.2773, allocations: 163.8 kB / 0.9525 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2773, allocations: 25.7 kB / 0.9525 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.642e-05/0.2774, allocations: 112 kB / 0.9526 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.2774, allocations: 3.906 kB / 0.9526 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.2774, allocations: 21.7 kB / 0.9527 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.2775, allocations: 319.1 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.846e-05/0.2776, allocations: 4 kB / 0.953 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.441e-05/0.2776, allocations: 25.69 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.73e-05/0.2776, allocations: 29.66 kB / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2776, allocations: 0 / 0.953 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.826e-05/0.2777, allocations: 65.56 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2778, allocations: 4 kB / 0.9531 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.2778, allocations: 3.938 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2778, allocations: 4 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.2779, allocations: 4 kB / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.2779, allocations: 0 / 0.9531 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.327e-05/0.2779, allocations: 15.78 kB / 0.9531 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.2779, allocations: 0 / 0.9531 GB, free: 5.535 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.866e-05/0.278, allocations: 113.8 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.2781, allocations: 11.94 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.048e-05/0.2781, allocations: 19.8 kB / 0.9532 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2781, allocations: 0 / 0.9532 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.2781, allocations: 0 / 0.9532 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2781, allocations: 0 / 0.9532 GB, free: 5.383 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.2785, allocations: 466.8 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.2785, allocations: 0 / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.005e-05/0.2785, allocations: 4 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2786, allocations: 4.062 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2786, allocations: 4 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.2786, allocations: 4 kB / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2786, allocations: 0 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.857e-05/0.2787, allocations: 89.7 kB / 0.9538 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.2787, allocations: 89 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.4e-05/0.2788, allocations: 4.031 kB / 0.9539 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2e-05/0.2788, allocations: 0 / 0.9539 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.2788, allocations: 4 kB / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.2788, allocations: 0 / 0.9539 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.2789, allocations: 126.3 kB / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2789, allocations: 0 / 0.954 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001888/0.2791, allocations: 8 kB / 0.954 GB, free: 4.496 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.0001174/0.2792, allocations: 95.25 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.2793, allocations: 27.92 kB / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.2793, allocations: 0 / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.083e-05/0.2793, allocations: 4 kB / 0.9541 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.2795, allocations: 11.94 kB / 0.9541 GB, free: 4.352 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.2798, allocations: 212.7 kB / 0.9543 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.2801, allocations: 0.7039 MB / 0.955 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.987e-05/0.2801, allocations: 11.44 kB / 0.955 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of SimCode: time 4.8e-07/0.2801, allocations: 0 / 0.955 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of Templates: time 0.002332/0.2825, allocations: 0.8522 MB / 0.9559 GB, free: 2.508 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_inH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_inH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches