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.001199/0.001199, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001388/0.001388, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.444/1.444, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.601/2.601, allocations: 390.2 MB / 0.6643 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 63.89 kB / 0.812 GB, free: 14.77 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.806/0.8076, allocations: 140.4 MB / 0.9491 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002002/0.8096, allocations: 0.8796 MB / 0.95 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.287e-05/0.8097, allocations: 41.28 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.8098, allocations: 1.375 kB / 0.95 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.981e-05/0.8098, allocations: 13.23 kB / 0.95 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.8099, allocations: 7.938 kB / 0.95 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.191e-05/0.81, allocations: 16.12 kB / 0.95 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.528e-05/0.81, allocations: 55.28 kB / 0.9501 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.8102, allocations: 36.47 kB / 0.9501 GB, free: 8.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.8102, allocations: 36.05 kB / 0.9502 GB, free: 8.348 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.8103, allocations: 31.91 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.8103, allocations: 6.875 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.8103, allocations: 5.5 kB / 0.9502 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.823e-05/0.8104, allocations: 14.69 kB / 0.9502 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.8104, allocations: 38.66 kB / 0.9502 GB, free: 8.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.343e-05/0.8105, allocations: 66.06 kB / 0.9503 GB, free: 8.227 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8105, allocations: 4 kB / 0.9503 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8105, allocations: 0 / 0.9503 GB, free: 8.223 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.8105, allocations: 1.375 kB / 0.9503 GB, free: 8.223 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.0003331/0.8108, allocations: 382.6 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.8109, allocations: 8.094 kB / 0.9507 GB, free: 7.82 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.8109, allocations: 10.41 kB / 0.9507 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.8111, allocations: 197.5 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.137e-05/0.8111, allocations: 4.25 kB / 0.9509 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.8111, allocations: 9.406 kB / 0.9509 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.8113, allocations: 95.41 kB / 0.951 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.8113, allocations: 8.125 kB / 0.951 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.8113, allocations: 5.312 kB / 0.951 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.8113, allocations: 6.234 kB / 0.951 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.718e-05/0.8114, allocations: 36.05 kB / 0.951 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.8119, allocations: 428.4 kB / 0.9515 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.168e-05/0.812, allocations: 44.84 kB / 0.9515 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.812, allocations: 16.12 kB / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.812, allocations: 0 / 0.9515 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.8121, allocations: 44.95 kB / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.8121, allocations: 0 / 0.9516 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000172/0.8122, allocations: 54.61 kB / 0.9516 GB, free: 6.879 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.8123, allocations: 82.27 kB / 0.9517 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.8124, allocations: 163.6 kB / 0.9518 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.8124, allocations: 25.7 kB / 0.9519 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.958e-05/0.8125, allocations: 107.6 kB / 0.952 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.927e-06/0.8125, allocations: 5.156 kB / 0.952 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.8125, allocations: 22.06 kB / 0.952 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.8126, allocations: 325.8 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.845e-05/0.8126, allocations: 2.875 kB / 0.9523 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.005e-05/0.8126, allocations: 22.64 kB / 0.9523 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.668e-05/0.8127, allocations: 21.84 kB / 0.9523 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.8127, allocations: 4 kB / 0.9524 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.604e-05/0.8128, allocations: 63.36 kB / 0.9524 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.8128, allocations: 5.188 kB / 0.9524 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.8128, allocations: 5.188 kB / 0.9524 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.8128, allocations: 5.359 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.274e-05/0.8129, allocations: 4.781 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.8129, allocations: 1.5 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.737e-05/0.8129, allocations: 1.219 kB / 0.9524 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.8129, allocations: 5.719 kB / 0.9524 GB, free: 6.051 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.734e-05/0.813, allocations: 113.5 kB / 0.9525 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.813, allocations: 12.94 kB / 0.9526 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.185e-05/0.8131, allocations: 17.2 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.8131, allocations: 1.156 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.8131, allocations: 1.031 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.8131, allocations: 1.156 kB / 0.9526 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002759/0.8134, allocations: 478.3 kB / 0.953 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.8134, allocations: 0 / 0.953 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.859e-05/0.8134, allocations: 6.969 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.8134, allocations: 1.344 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.8134, allocations: 0 / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.8134, allocations: 1.344 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.8134, allocations: 1.312 kB / 0.953 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.538e-05/0.8135, allocations: 81.8 kB / 0.9531 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.8135, allocations: 88.2 kB / 0.9532 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.8136, allocations: 13.61 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.001e-05/0.8136, allocations: 0 / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.26e-05/0.8136, allocations: 1.562 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.8136, allocations: 1.406 kB / 0.9532 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.812e-05/0.8137, allocations: 120.2 kB / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8137, allocations: 0 / 0.9533 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001872/0.8139, allocations: 6.25 kB / 0.9533 GB, free: 5.102 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.0001086/0.814, allocations: 105 kB / 0.9534 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.484e-05/0.8141, allocations: 19.16 kB / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.8141, allocations: 0 / 0.9535 GB, free: 5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.18e-05/0.8141, allocations: 8.156 kB / 0.9535 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001678/0.8143, allocations: 10.77 kB / 0.9535 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.8146, allocations: 181.8 kB / 0.9537 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.8147, allocations: 0.6936 MB / 0.9543 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.412e-05/0.8148, allocations: 8.641 kB / 0.9543 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.516e-05/0.8148, allocations: 15.59 kB / 0.9544 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8148, allocations: 0 / 0.9544 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.00255/0.8173, allocations: 460.2 kB / 0.9548 GB, free: 3.855 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