Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009153/0.0009154, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006797/0.006797, allocations: 170 kB / 16.26 MB, free: 6.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.492/1.492, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.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.431/2.431, allocations: 390.9 MB / 0.6663 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003993/0.0003993, allocations: 8 kB / 0.816 GB, free: 13.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9426/0.943, allocations: 142.4 MB / 0.955 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001241/0.9443, allocations: 0.5381 MB / 0.9556 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001561/0.9445, allocations: 40.03 kB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.566e-05/0.9446, allocations: 5.25 kB / 0.9556 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.747e-05/0.9446, allocations: 5.219 kB / 0.9556 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.9447, allocations: 7.922 kB / 0.9556 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.244e-05/0.9448, allocations: 15.28 kB / 0.9556 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.9449, allocations: 55.5 kB / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.9451, allocations: 38.28 kB / 0.9557 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.999e-05/0.9452, allocations: 26.31 kB / 0.9557 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.688e-05/0.9453, allocations: 24.05 kB / 0.9558 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.9453, allocations: 0.9375 kB / 0.9558 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.045e-05/0.9453, allocations: 2.312 kB / 0.9558 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.178e-05/0.9453, allocations: 5.844 kB / 0.9558 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.9454, allocations: 55.11 kB / 0.9558 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.9455, allocations: 70.36 kB / 0.9559 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.9455, allocations: 0 / 0.9559 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.9455, allocations: 1.031 kB / 0.9559 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.9455, allocations: 3.938 kB / 0.9559 GB, free: 6.977 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.0004978/0.946, allocations: 361 kB / 0.9562 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 7.207e-05/0.9461, allocations: 9.719 kB / 0.9563 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.234e-05/0.9462, allocations: 13.56 kB / 0.9563 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.9465, allocations: 193.9 kB / 0.9565 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.9465, allocations: 7.562 kB / 0.9565 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.9466, allocations: 5.844 kB / 0.9565 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.9468, allocations: 95.67 kB / 0.9566 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.9468, allocations: 192 / 0.9566 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.9468, allocations: 5.062 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.9468, allocations: 2.094 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001198/0.947, allocations: 38.92 kB / 0.9566 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007114/0.9477, allocations: 438.5 kB / 0.957 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.217e-05/0.9478, allocations: 41.45 kB / 0.9571 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.392e-05/0.9478, allocations: 26.56 kB / 0.9571 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.9479, allocations: 1.188 kB / 0.9571 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.9479, allocations: 31.62 kB / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.212e-06/0.9479, allocations: 0 / 0.9571 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.00028/0.9482, allocations: 55.14 kB / 0.9572 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.9483, allocations: 82.28 kB / 0.9572 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.9485, allocations: 163.8 kB / 0.9574 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.9485, allocations: 26.77 kB / 0.9574 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.384e-05/0.9486, allocations: 108.3 kB / 0.9575 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.715e-05/0.9486, allocations: 8.953 kB / 0.9575 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.9487, allocations: 18.77 kB / 0.9576 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9488, allocations: 317 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.9488, allocations: 7.203 kB / 0.9579 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.263e-05/0.9489, allocations: 18.41 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.771e-05/0.9489, allocations: 30.69 kB / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.949, allocations: 0 / 0.9579 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/0.9491, allocations: 58.97 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.9491, allocations: 6.125 kB / 0.958 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.9491, allocations: 3.938 kB / 0.958 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.9492, allocations: 8.844 kB / 0.958 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.804e-05/0.9492, allocations: 5.781 kB / 0.958 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9493, allocations: 5.125 kB / 0.958 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.634e-05/0.9493, allocations: 6.312 kB / 0.958 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.9493, allocations: 1.25 kB / 0.958 GB, free: 4.82 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 0.0001008/0.9494, allocations: 113.3 kB / 0.9581 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.843e-05/0.9495, allocations: 7.281 kB / 0.9581 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.173e-05/0.9495, allocations: 19.42 kB / 0.9581 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.9495, allocations: 5.109 kB / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.9496, allocations: 0 / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.9496, allocations: 1.062 kB / 0.9581 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.95, allocations: 470.5 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.95, allocations: 0 / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.95, allocations: 3.25 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.95, allocations: 1 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.95, allocations: 1.062 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.95, allocations: 0.9062 kB / 0.9586 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.95, allocations: 4.953 kB / 0.9586 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.869e-05/0.9501, allocations: 89.66 kB / 0.9587 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/0.9502, allocations: 92.84 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.9502, allocations: 1.219 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.146e-05/0.9503, allocations: 0 / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.992e-05/0.9503, allocations: 0.9688 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.9503, allocations: 2.25 kB / 0.9588 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001163/0.9504, allocations: 126.9 kB / 0.9589 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9504, allocations: 3.938 kB / 0.9589 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002038/0.9506, allocations: 7.062 kB / 0.9589 GB, free: 3.867 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 0.0001718/0.9508, allocations: 97.09 kB / 0.959 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00016/0.951, allocations: 21.33 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.951, allocations: 1.156 kB / 0.959 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.671e-05/0.951, allocations: 7.844 kB / 0.959 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.9512, allocations: 12.95 kB / 0.9591 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.9517, allocations: 176.1 kB / 0.9592 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/0.9519, allocations: 0.7035 MB / 0.9599 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.88e-05/0.9519, allocations: 3.844 kB / 0.9599 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.952, allocations: 11.12 kB / 0.9599 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of SimCode: time 3.91e-07/0.952, allocations: 0 / 0.9599 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of Templates: time 0.003201/0.9552, allocations: 429.9 kB / 0.9603 GB, free: 2.641 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches