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.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.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.005407/0.005407, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001237/0.001237, allocations: 190.8 kB / 16.79 MB, free: 5.809 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.388/1.388, allocations: 222.9 MB / 240.5 MB, free: 4.562 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.386/2.386, allocations: 390.2 MB / 0.6649 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6985/0.7, allocations: 140.4 MB / 0.9496 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001994/0.702, allocations: 0.8864 MB / 0.9504 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.623e-05/0.7021, allocations: 37.34 kB / 0.9505 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.7022, allocations: 5.375 kB / 0.9505 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.839e-05/0.7022, allocations: 7.922 kB / 0.9505 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.7023, allocations: 5.312 kB / 0.9505 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.259e-05/0.7023, allocations: 18.73 kB / 0.9505 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.01e-05/0.7024, allocations: 55.17 kB / 0.9506 GB, free: 8.457 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.7026, allocations: 47.08 kB / 0.9506 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.7026, allocations: 24.11 kB / 0.9506 GB, free: 8.41 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.571e-05/0.7027, allocations: 27.97 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.7027, allocations: 4.125 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.215e-05/0.7027, allocations: 4.125 kB / 0.9507 GB, free: 8.387 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.836e-05/0.7027, allocations: 10.69 kB / 0.9507 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.7028, allocations: 33.23 kB / 0.9507 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.955e-05/0.7029, allocations: 56.86 kB / 0.9508 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7029, allocations: 0 / 0.9508 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.7029, allocations: 4 kB / 0.9508 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7029, allocations: 1.375 kB / 0.9508 GB, free: 8.305 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.000346/0.7032, allocations: 378.4 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.7033, allocations: 8.25 kB / 0.9511 GB, free: 7.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/0.7033, allocations: 10.34 kB / 0.9512 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.7035, allocations: 193.8 kB / 0.9513 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.548e-06/0.7035, allocations: 7.125 kB / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.7035, allocations: 5.875 kB / 0.9513 GB, free: 7.68 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.7036, allocations: 100 kB / 0.9514 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.7037, allocations: 192 / 0.9514 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.7037, allocations: 9.312 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.7037, allocations: 1.375 kB / 0.9515 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.7038, allocations: 31.23 kB / 0.9515 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004166/0.7042, allocations: 441.9 kB / 0.9519 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.649e-05/0.7042, allocations: 36.81 kB / 0.9519 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.7043, allocations: 19.44 kB / 0.952 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.7043, allocations: 5.562 kB / 0.952 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.7043, allocations: 34.56 kB / 0.952 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.7043, allocations: 5.031 kB / 0.952 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.7045, allocations: 58.47 kB / 0.9521 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.7045, allocations: 78.39 kB / 0.9521 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.7047, allocations: 163.5 kB / 0.9523 GB, free: 6.738 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.821e-06/0.7047, allocations: 25.7 kB / 0.9523 GB, free: 6.707 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.7047, allocations: 112.1 kB / 0.9524 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.7048, allocations: 13.31 kB / 0.9524 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.766e-05/0.7048, allocations: 13.78 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.396e-05/0.7048, allocations: 320.6 kB / 0.9528 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.747e-05/0.7049, allocations: 7.406 kB / 0.9528 GB, free: 6.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/0.7049, allocations: 23.25 kB / 0.9528 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.558e-05/0.7049, allocations: 37.77 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7049, allocations: 0 / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.826e-05/0.705, allocations: 50.98 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.705, allocations: 5.719 kB / 0.9529 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.705, allocations: 5.219 kB / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.7051, allocations: 0 / 0.9529 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.85e-05/0.7051, allocations: 9.594 kB / 0.9529 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.7051, allocations: 5.422 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.696e-05/0.7052, allocations: 1.344 kB / 0.9529 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.7052, allocations: 1.469 kB / 0.9529 GB, free: 6.137 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.252e-05/0.7052, allocations: 117.6 kB / 0.953 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.7053, allocations: 8.25 kB / 0.953 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.7053, allocations: 14.56 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.7053, allocations: 1.312 kB / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.7053, allocations: 0 / 0.953 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.7053, allocations: 5.234 kB / 0.953 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002567/0.7056, allocations: 477.9 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.7056, allocations: 1.344 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.737e-05/0.7056, allocations: 2.531 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.7056, allocations: 1.25 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.7056, allocations: 0 / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.7056, allocations: 1.312 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.7056, allocations: 1.25 kB / 0.9535 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.612e-05/0.7057, allocations: 86.36 kB / 0.9536 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.996e-05/0.7057, allocations: 91.52 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.7058, allocations: 1.594 kB / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.023e-05/0.7058, allocations: 0 / 0.9537 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/0.7058, allocations: 5.297 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.7058, allocations: 1.156 kB / 0.9537 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.123e-05/0.7059, allocations: 118.2 kB / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7059, allocations: 0 / 0.9538 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001827/0.7061, allocations: 14.78 kB / 0.9538 GB, free: 5.188 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 9.8e-05/0.7062, allocations: 99.83 kB / 0.9539 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.187e-05/0.7063, allocations: 18.44 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7063, allocations: 1.312 kB / 0.9539 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.055e-05/0.7063, allocations: 11.09 kB / 0.9539 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000163/0.7065, allocations: 11.03 kB / 0.9539 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.7068, allocations: 204.7 kB / 0.9541 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001185/0.7069, allocations: 0.6951 MB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.374e-05/0.7069, allocations: 15.62 kB / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.7069, allocations: 0 / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of Templates: time 0.002017/0.7089, allocations: 0.8588 MB / 0.9557 GB, free: 3.707 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/jenkins1/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