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.001668/0.001668, allocations: 104.1 kB / 15.88 MB, free: 4 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001914/0.001914, allocations: 196.5 kB / 16.79 MB, free: 6.832 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.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.551 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.478/2.478, allocations: 390.2 MB / 0.6649 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 71.89 kB / 0.8125 GB, free: 14.9 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.596/0.5974, allocations: 140.4 MB / 0.9496 GB, free: 9.27 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001861/0.5993, allocations: 0.8804 MB / 0.9504 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.611e-05/0.5994, allocations: 33.36 kB / 0.9505 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.5994, allocations: 5.312 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.899e-05/0.5995, allocations: 1.375 kB / 0.9505 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.267e-05/0.5996, allocations: 15.92 kB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.819e-05/0.5996, allocations: 16.11 kB / 0.9505 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.718e-05/0.5997, allocations: 57.8 kB / 0.9506 GB, free: 8.496 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.5998, allocations: 39.08 kB / 0.9506 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.579e-05/0.5999, allocations: 28.12 kB / 0.9506 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.877e-05/0.5999, allocations: 23.97 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.6, allocations: 4.125 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.026e-05/0.6, allocations: 4.125 kB / 0.9507 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.72e-05/0.6, allocations: 18.62 kB / 0.9507 GB, free: 8.418 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.938e-05/0.6, allocations: 29.3 kB / 0.9507 GB, free: 8.395 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 6.452e-05/0.6001, allocations: 52.86 kB / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.6001, allocations: 0 / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6001, allocations: 0 / 0.9508 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.339e-06/0.6001, allocations: 0 / 0.9508 GB, free: 8.355 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.0003139/0.6004, allocations: 386.4 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6005, allocations: 9.625 kB / 0.9511 GB, free: 7.949 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.6005, allocations: 18.33 kB / 0.9512 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6007, allocations: 185.8 kB / 0.9513 GB, free: 7.727 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.6007, allocations: 7.125 kB / 0.9513 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.6007, allocations: 9.875 kB / 0.9513 GB, free: 7.719 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.6008, allocations: 91.36 kB / 0.9514 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.6009, allocations: 4.188 kB / 0.9514 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.6009, allocations: 9.062 kB / 0.9514 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6009, allocations: 1.656 kB / 0.9515 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.025e-05/0.6009, allocations: 39.69 kB / 0.9515 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003993/0.6014, allocations: 440.8 kB / 0.9519 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.109e-05/0.6014, allocations: 42.09 kB / 0.9519 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.849e-05/0.6014, allocations: 15.28 kB / 0.952 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.802e-06/0.6015, allocations: 4.031 kB / 0.952 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.465e-05/0.6015, allocations: 35.97 kB / 0.952 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6015, allocations: 4 kB / 0.952 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001422/0.6016, allocations: 59.31 kB / 0.9521 GB, free: 7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.6017, allocations: 77.92 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.6018, allocations: 159.7 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-06/0.6018, allocations: 29.7 kB / 0.9523 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.959e-05/0.6018, allocations: 109 kB / 0.9524 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.6018, allocations: 5.156 kB / 0.9524 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.6019, allocations: 17.75 kB / 0.9524 GB, free: 6.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.097e-05/0.6019, allocations: 324 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.6019, allocations: 3.969 kB / 0.9528 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952e-05/0.602, allocations: 18.34 kB / 0.9528 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.272e-05/0.602, allocations: 29.89 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.602, allocations: 1.219 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.88e-05/0.6021, allocations: 58.61 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6021, allocations: 5.031 kB / 0.9529 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6021, allocations: 5 kB / 0.9529 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.6021, allocations: 4.969 kB / 0.9529 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.882e-05/0.6022, allocations: 14.17 kB / 0.9529 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6022, allocations: 3.938 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.71e-05/0.6022, allocations: 2.844 kB / 0.9529 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.6022, allocations: 1.219 kB / 0.9529 GB, free: 6.176 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 4.639e-05/0.6023, allocations: 113.7 kB / 0.953 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.086e-05/0.6023, allocations: 11 kB / 0.953 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.993e-05/0.6024, allocations: 14.5 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6024, allocations: 1.438 kB / 0.953 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.6024, allocations: 5.359 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.6024, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002531/0.6026, allocations: 470.2 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.6026, allocations: 1.094 kB / 0.9535 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.956e-05/0.6027, allocations: 7.062 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6027, allocations: 0 / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.6027, allocations: 1.75 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.6027, allocations: 0 / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6027, allocations: 1.25 kB / 0.9535 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.474e-05/0.6028, allocations: 86.45 kB / 0.9536 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.6028, allocations: 91.77 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.6028, allocations: 5.875 kB / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.026e-05/0.6028, allocations: 0 / 0.9537 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.13e-05/0.6029, allocations: 5.859 kB / 0.9537 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-06/0.6029, allocations: 4 kB / 0.9537 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.264e-05/0.6029, allocations: 120.9 kB / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6029, allocations: 0 / 0.9538 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001865/0.6031, allocations: 7.469 kB / 0.9538 GB, free: 5.227 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 7.905e-05/0.6032, allocations: 100.1 kB / 0.9539 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.24e-05/0.6033, allocations: 18.56 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.6033, allocations: 1.5 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.688e-06/0.6033, allocations: 2.812 kB / 0.9539 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.6035, allocations: 11.97 kB / 0.9539 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002565/0.6037, allocations: 212.8 kB / 0.9541 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001065/0.6039, allocations: 0.6904 MB / 0.9548 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.6039, allocations: 15.47 kB / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of SimCode: time 3.4e-07/0.6039, allocations: 0 / 0.9548 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of Templates: time 0.001894/0.6058, allocations: 0.8638 MB / 0.9557 GB, free: 3.746 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/jenkins1/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