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.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_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.001014/0.001014, 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.00925/0.00925, 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.348 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.661/2.661, allocations: 390.9 MB / 0.6663 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005742/0.0005743, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8876/0.8882, allocations: 142.4 MB / 0.955 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.0009335/0.8892, allocations: 0.534 MB / 0.9556 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001073/0.8893, allocations: 41.25 kB / 0.9556 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.812e-05/0.8894, allocations: 4.906 kB / 0.9556 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.8894, allocations: 8.75 kB / 0.9556 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.8895, allocations: 5.031 kB / 0.9556 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.038e-05/0.8896, allocations: 18.55 kB / 0.9556 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.629e-05/0.8897, allocations: 55 kB / 0.9557 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001471/0.8898, allocations: 39.22 kB / 0.9557 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.525e-05/0.8899, allocations: 17.62 kB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.8899, allocations: 23.73 kB / 0.9558 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.786e-05/0.8899, allocations: 5.156 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.116e-06/0.89, allocations: 2.25 kB / 0.9558 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.89, allocations: 13.84 kB / 0.9558 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.89, allocations: 51.39 kB / 0.9558 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001069/0.8901, allocations: 61.95 kB / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.8902, allocations: 0 / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.396e-06/0.8902, allocations: 1.438 kB / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.8902, allocations: 0 / 0.9559 GB, free: 7.074 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.0003823/0.8906, allocations: 365 kB / 0.9562 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.8906, allocations: 12.72 kB / 0.9563 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.8907, allocations: 13.59 kB / 0.9563 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.8909, allocations: 195.5 kB / 0.9565 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.8909, allocations: 6.656 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.8909, allocations: 5.156 kB / 0.9565 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.8911, allocations: 95.66 kB / 0.9566 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.8911, allocations: 4.125 kB / 0.9566 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.8911, allocations: 4.938 kB / 0.9566 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.8911, allocations: 6.219 kB / 0.9566 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.382e-05/0.8912, allocations: 35.83 kB / 0.9566 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004331/0.8916, allocations: 429.7 kB / 0.957 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.406e-05/0.8917, allocations: 45.81 kB / 0.9571 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.366e-05/0.8917, allocations: 19.47 kB / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.8917, allocations: 0 / 0.9571 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.473e-05/0.8917, allocations: 43.5 kB / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.8918, allocations: 1.281 kB / 0.9571 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001669/0.8919, allocations: 51.05 kB / 0.9572 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.797e-05/0.892, allocations: 85.05 kB / 0.9573 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.8921, allocations: 164.6 kB / 0.9574 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.8921, allocations: 25.7 kB / 0.9574 GB, free: 5.477 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/0.8922, allocations: 104 kB / 0.9575 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.832e-06/0.8922, allocations: 13.19 kB / 0.9576 GB, free: 5.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.824e-05/0.8922, allocations: 11.12 kB / 0.9576 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.788e-05/0.8923, allocations: 325.4 kB / 0.9579 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.768e-05/0.8923, allocations: 6.719 kB / 0.9579 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.8923, allocations: 19.16 kB / 0.9579 GB, free: 5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.625e-05/0.8923, allocations: 25.67 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.8924, allocations: 0.9375 kB / 0.9579 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.354e-05/0.8924, allocations: 59.27 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.8925, allocations: 4.906 kB / 0.958 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.8925, allocations: 9.188 kB / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.8925, allocations: 0 / 0.958 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.892e-05/0.8925, allocations: 9.828 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8926, allocations: 1.188 kB / 0.958 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.8926, allocations: 6.25 kB / 0.958 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.8926, allocations: 5.188 kB / 0.958 GB, free: 4.91 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.431e-05/0.8927, allocations: 113.4 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.196e-05/0.8927, allocations: 7.531 kB / 0.9581 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.279e-05/0.8927, allocations: 18.36 kB / 0.9581 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8927, allocations: 5.281 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.8928, allocations: 1.344 kB / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.8928, allocations: 0 / 0.9582 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.893, allocations: 470.2 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.893, allocations: 0.9375 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.823e-05/0.8931, allocations: 3.25 kB / 0.9586 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.8931, allocations: 5.062 kB / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-06/0.8931, allocations: 64 / 0.9586 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.8931, allocations: 5.281 kB / 0.9586 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.8931, allocations: 0.9375 kB / 0.9586 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.8932, allocations: 86.23 kB / 0.9587 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.8932, allocations: 88.42 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.377e-05/0.8932, allocations: 1.375 kB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.107e-05/0.8933, allocations: 3.984 kB / 0.9588 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.837e-05/0.8933, allocations: 9.094 kB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.8933, allocations: 1.156 kB / 0.9588 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.977e-05/0.8934, allocations: 121.1 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8.61e-07/0.8934, allocations: 1.219 kB / 0.9589 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001828/0.8936, allocations: 10.47 kB / 0.9589 GB, free: 3.957 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.0001068/0.8937, allocations: 97.28 kB / 0.959 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.348e-05/0.8938, allocations: 17.5 kB / 0.959 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.8938, allocations: 4.062 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-06/0.8938, allocations: 5.719 kB / 0.959 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.8939, allocations: 14.11 kB / 0.9591 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002526/0.8942, allocations: 185.5 kB / 0.9592 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.8943, allocations: 0.6939 MB / 0.9599 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.8944, allocations: 9.266 kB / 0.9599 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.056e-05/0.8944, allocations: 10.31 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of SimCode: time 4.8e-07/0.8944, allocations: 1.281 kB / 0.9599 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of Templates: time 0.002224/0.8966, allocations: 421.1 kB / 0.9603 GB, free: 2.738 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/jenkins/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