Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.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.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008782/0.0008782, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009488/0.0009486, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.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.456/2.456, allocations: 390.9 MB / 0.667 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003679/0.000368, allocations: 12 kB / 0.8166 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7975/0.7979, allocations: 142.4 MB / 0.9557 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001037/0.799, allocations: 0.5388 MB / 0.9562 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001039/0.7991, allocations: 36.48 kB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.7992, allocations: 2.125 kB / 0.9563 GB, free: 7.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.179e-05/0.7992, allocations: 7.875 kB / 0.9563 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.964e-05/0.7993, allocations: 11.91 kB / 0.9563 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.073e-05/0.7993, allocations: 11.53 kB / 0.9563 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.7994, allocations: 55.53 kB / 0.9564 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.7996, allocations: 38.09 kB / 0.9564 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.951e-05/0.7997, allocations: 21.56 kB / 0.9564 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.3e-05/0.7997, allocations: 24.27 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.7998, allocations: 1.312 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.7998, allocations: 2.156 kB / 0.9564 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.803e-05/0.7998, allocations: 10.3 kB / 0.9565 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.079e-05/0.7998, allocations: 50.08 kB / 0.9565 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.06e-05/0.7999, allocations: 56.34 kB / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7999, allocations: 0.9688 kB / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7999, allocations: 0 / 0.9566 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.107e-06/0.8, allocations: 0 / 0.9566 GB, free: 7.113 MB / 0.7169 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.0003513/0.8003, allocations: 361.9 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8004, allocations: 9.375 kB / 0.9569 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.8004, allocations: 12.59 kB / 0.9569 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.8006, allocations: 190.9 kB / 0.9571 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.8006, allocations: 11.81 kB / 0.9571 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.8006, allocations: 8.719 kB / 0.9571 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.8008, allocations: 91.95 kB / 0.9572 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.8008, allocations: 12.05 kB / 0.9572 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.8008, allocations: 7.938 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.8008, allocations: 3.031 kB / 0.9572 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.8009, allocations: 34.89 kB / 0.9573 GB, free: 6.383 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.8014, allocations: 438.2 kB / 0.9577 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.944e-05/0.8015, allocations: 37.88 kB / 0.9577 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.411e-05/0.8015, allocations: 23.12 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.8015, allocations: 1.156 kB / 0.9577 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.8015, allocations: 39.64 kB / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.8016, allocations: 0 / 0.9578 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001724/0.8017, allocations: 50.92 kB / 0.9578 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.8018, allocations: 86.55 kB / 0.9579 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.8019, allocations: 164.5 kB / 0.9581 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.893e-06/0.8019, allocations: 25.7 kB / 0.9581 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.837e-05/0.802, allocations: 109.5 kB / 0.9582 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.802, allocations: 3.906 kB / 0.9582 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.994e-05/0.802, allocations: 11.19 kB / 0.9582 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.8021, allocations: 321 kB / 0.9585 GB, free: 5.07 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.8021, allocations: 7.125 kB / 0.9585 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.878e-05/0.8021, allocations: 15.38 kB / 0.9585 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.8022, allocations: 34.95 kB / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.8022, allocations: 0 / 0.9586 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.417e-05/0.8023, allocations: 55.08 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.8023, allocations: 4.75 kB / 0.9586 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8023, allocations: 4.875 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.8023, allocations: 5.141 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.8024, allocations: 8.891 kB / 0.9586 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.8024, allocations: 5.312 kB / 0.9587 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.083e-05/0.8024, allocations: 6.25 kB / 0.9587 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.8024, allocations: 8.906 kB / 0.9587 GB, free: 4.949 MB / 0.7169 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 5.947e-05/0.8025, allocations: 109.2 kB / 0.9588 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.8025, allocations: 8.562 kB / 0.9588 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.527e-05/0.8026, allocations: 13.91 kB / 0.9588 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8026, allocations: 5.016 kB / 0.9588 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.8026, allocations: 8.812 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.8026, allocations: 1.156 kB / 0.9588 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.8029, allocations: 474.4 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.8029, allocations: 0 / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.76e-05/0.8029, allocations: 3.25 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8029, allocations: 2.094 kB / 0.9593 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.8029, allocations: 3.938 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8029, allocations: 0 / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8029, allocations: 2.031 kB / 0.9593 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.105e-05/0.803, allocations: 85.14 kB / 0.9593 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.242e-05/0.803, allocations: 92.89 kB / 0.9594 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.8031, allocations: 1.969 kB / 0.9594 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.957e-05/0.8031, allocations: 0 / 0.9594 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.8031, allocations: 5.922 kB / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.8031, allocations: 0 / 0.9594 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.748e-05/0.8032, allocations: 123.6 kB / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8032, allocations: 0 / 0.9596 GB, free: 4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001833/0.8034, allocations: 7.625 kB / 0.9596 GB, free: 4 MB / 0.7169 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 8.917e-05/0.8035, allocations: 100.1 kB / 0.9597 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.8036, allocations: 14.19 kB / 0.9597 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8036, allocations: 0 / 0.9597 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.042e-05/0.8036, allocations: 8.219 kB / 0.9597 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.8037, allocations: 16.31 kB / 0.9597 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002857/0.804, allocations: 202.7 kB / 0.9599 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000114/0.8042, allocations: 0.6942 MB / 0.9606 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.284e-05/0.8042, allocations: 11.16 kB / 0.9606 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of SimCode: time 3.2e-07/0.8042, allocations: 5.438 kB / 0.9606 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of Templates: time 0.002055/0.8063, allocations: 0.8479 MB / 0.9614 GB, free: 2.531 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches