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.000948/0.0009481, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001087/0.001087, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.312 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.473/2.473, allocations: 390.9 MB / 0.666 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 8 kB / 0.8154 GB, free: 13.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.811/0.8114, allocations: 142.4 MB / 0.9544 GB, free: 7.746 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001006/0.8125, allocations: 0.5066 MB / 0.9549 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001094/0.8126, allocations: 41.42 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.134e-05/0.8127, allocations: 1.375 kB / 0.955 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.137e-05/0.8127, allocations: 3.938 kB / 0.955 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.805e-05/0.8128, allocations: 5.344 kB / 0.955 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.58e-05/0.8129, allocations: 15.17 kB / 0.955 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.808e-05/0.813, allocations: 61.69 kB / 0.9551 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.8131, allocations: 26.53 kB / 0.9551 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.553e-05/0.8132, allocations: 21.86 kB / 0.9551 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.06e-05/0.8132, allocations: 15.91 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.729e-05/0.8132, allocations: 1.312 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.408e-06/0.8133, allocations: 5.5 kB / 0.9551 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.8133, allocations: 10.77 kB / 0.9551 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.474e-05/0.8133, allocations: 37.27 kB / 0.9552 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.034e-05/0.8134, allocations: 49.66 kB / 0.9552 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.8134, allocations: 0.7812 kB / 0.9552 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8134, allocations: 0 / 0.9552 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8134, allocations: 0 / 0.9552 GB, free: 7.129 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.000358/0.8138, allocations: 368.1 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.8138, allocations: 9.031 kB / 0.9556 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.8139, allocations: 21.39 kB / 0.9556 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.8141, allocations: 192.6 kB / 0.9558 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.8141, allocations: 7.844 kB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.8141, allocations: 4.406 kB / 0.9558 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.8143, allocations: 89.2 kB / 0.9559 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.8143, allocations: 1.375 kB / 0.9559 GB, free: 6.43 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.8143, allocations: 7.922 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.8143, allocations: 2.562 kB / 0.9559 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.8144, allocations: 47.31 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004811/0.8149, allocations: 437.2 kB / 0.9564 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.344e-05/0.8149, allocations: 42.22 kB / 0.9564 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.815, allocations: 23.72 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.383e-06/0.815, allocations: 0 / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.874e-05/0.815, allocations: 31.94 kB / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.613e-06/0.815, allocations: 0 / 0.9565 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001688/0.8152, allocations: 58.84 kB / 0.9565 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.8152, allocations: 86.14 kB / 0.9566 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.8154, allocations: 163.2 kB / 0.9567 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.8154, allocations: 26.86 kB / 0.9568 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.555e-05/0.8155, allocations: 103.7 kB / 0.9569 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.829e-06/0.8155, allocations: 12.97 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.8155, allocations: 1.125 kB / 0.9569 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.227e-05/0.8156, allocations: 323.9 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.8156, allocations: 4 kB / 0.9572 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.8156, allocations: 22.28 kB / 0.9572 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.65e-05/0.8156, allocations: 8.844 kB / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.8156, allocations: 0 / 0.9572 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.532e-05/0.8157, allocations: 58.5 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.8157, allocations: 5.125 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8158, allocations: 1.281 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.8158, allocations: 1.344 kB / 0.9573 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.364e-05/0.8158, allocations: 8.938 kB / 0.9573 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.8159, allocations: 5.094 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/0.8159, allocations: 2.125 kB / 0.9573 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.8159, allocations: 1.125 kB / 0.9573 GB, free: 5.004 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.465e-05/0.816, allocations: 121.5 kB / 0.9574 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.22e-05/0.816, allocations: 8.219 kB / 0.9574 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.816, allocations: 10.22 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.8161, allocations: 1.219 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.8161, allocations: 1.188 kB / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.8161, allocations: 0 / 0.9574 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.8164, allocations: 482 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.8164, allocations: 1.094 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.755e-05/0.8164, allocations: 2.938 kB / 0.9579 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.8164, allocations: 5.359 kB / 0.9579 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.8164, allocations: 3.938 kB / 0.9579 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.8164, allocations: 1.406 kB / 0.9579 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.8164, allocations: 1.344 kB / 0.9579 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.754e-05/0.8165, allocations: 77.7 kB / 0.958 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.8165, allocations: 92.47 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.8166, allocations: 1.031 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.8166, allocations: 0 / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.179e-05/0.8166, allocations: 1.125 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-06/0.8166, allocations: 1.156 kB / 0.9581 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.885e-05/0.8167, allocations: 123.6 kB / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.8167, allocations: 0 / 0.9582 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001989/0.8169, allocations: 14.89 kB / 0.9582 GB, free: 4.051 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.807e-05/0.817, allocations: 108 kB / 0.9583 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.635e-05/0.8171, allocations: 18.08 kB / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.8171, allocations: 0 / 0.9583 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.315e-05/0.8171, allocations: 12.5 kB / 0.9583 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001696/0.8173, allocations: 7.312 kB / 0.9584 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003233/0.8176, allocations: 173.4 kB / 0.9585 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.8178, allocations: 0.6997 MB / 0.9592 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.8178, allocations: 3.938 kB / 0.9592 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.289e-05/0.8178, allocations: 11.09 kB / 0.9592 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of SimCode: time 8.82e-07/0.8178, allocations: 0 / 0.9592 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of Templates: time 0.002458/0.8203, allocations: 427.3 kB / 0.9596 GB, free: 2.816 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