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.001017/0.001017, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.00143/0.00143, allocations: 168.7 kB / 15.95 MB, free: 200 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.496/1.496, allocations: 223.2 MB / 240 MB, free: 5.348 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.628/2.628, allocations: 390.9 MB / 0.666 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003612/0.0003613, allocations: 12 kB / 0.8154 GB, free: 13.64 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9107/0.9111, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001041/0.9122, allocations: 0.5159 MB / 0.9549 GB, free: 7.336 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001047/0.9123, allocations: 44.25 kB / 0.955 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.033e-05/0.9123, allocations: 2.094 kB / 0.955 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.383e-05/0.9124, allocations: 7.922 kB / 0.955 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.529e-05/0.9125, allocations: 9.281 kB / 0.955 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.461e-05/0.9125, allocations: 11.42 kB / 0.955 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001019/0.9126, allocations: 53.7 kB / 0.9551 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001483/0.9128, allocations: 33.88 kB / 0.9551 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.799e-05/0.9128, allocations: 13.53 kB / 0.9551 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.246e-05/0.9129, allocations: 21.17 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.9129, allocations: 1.125 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.256e-06/0.9129, allocations: 1.5 kB / 0.9551 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.913, allocations: 14.33 kB / 0.9551 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.565e-05/0.913, allocations: 36.95 kB / 0.9552 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.708e-05/0.9131, allocations: 49.97 kB / 0.9552 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.9131, allocations: 1.344 kB / 0.9552 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9131, allocations: 4 kB / 0.9552 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.558e-06/0.9131, allocations: 0 / 0.9552 GB, free: 7.102 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.0003724/0.9135, allocations: 372.4 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.9135, allocations: 8.375 kB / 0.9556 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.772e-05/0.9136, allocations: 17.14 kB / 0.9556 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001835/0.9138, allocations: 192.9 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.9138, allocations: 3.531 kB / 0.9558 GB, free: 6.48 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.9138, allocations: 8.844 kB / 0.9558 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.914, allocations: 92.92 kB / 0.9559 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.914, allocations: 0 / 0.9559 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.914, allocations: 5.5 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.914, allocations: 1.406 kB / 0.9559 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.9141, allocations: 43.66 kB / 0.9559 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004613/0.9146, allocations: 441.8 kB / 0.9564 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.998e-05/0.9146, allocations: 37.5 kB / 0.9564 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.408e-05/0.9147, allocations: 18.62 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.9147, allocations: 0.9062 kB / 0.9564 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.312e-05/0.9147, allocations: 36 kB / 0.9565 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.9147, allocations: 0 / 0.9565 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001822/0.9149, allocations: 54.81 kB / 0.9565 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.915, allocations: 82.61 kB / 0.9566 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.9151, allocations: 158.8 kB / 0.9567 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.204e-06/0.9151, allocations: 25.7 kB / 0.9568 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.957e-05/0.9151, allocations: 109.1 kB / 0.9569 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.908e-06/0.9152, allocations: 13.23 kB / 0.9569 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.9152, allocations: 0 / 0.9569 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.9152, allocations: 320.4 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.9152, allocations: 3.469 kB / 0.9572 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.9153, allocations: 22.52 kB / 0.9572 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.9153, allocations: 12.59 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9153, allocations: 1.094 kB / 0.9572 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.19e-05/0.9154, allocations: 58.22 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.9154, allocations: 7.594 kB / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.9154, allocations: 0 / 0.9573 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9154, allocations: 5.188 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-05/0.9155, allocations: 5.906 kB / 0.9573 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.9155, allocations: 3.938 kB / 0.9573 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.848e-05/0.9156, allocations: 6.781 kB / 0.9573 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.059e-06/0.9156, allocations: 1.188 kB / 0.9573 GB, free: 4.984 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 5.963e-05/0.9156, allocations: 122 kB / 0.9574 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/0.9157, allocations: 7.438 kB / 0.9574 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.222e-05/0.9157, allocations: 14.36 kB / 0.9574 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.9157, allocations: 5.031 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.9157, allocations: 0.9688 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.9157, allocations: 1.062 kB / 0.9575 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003221/0.916, allocations: 473.3 kB / 0.9579 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.9161, allocations: 5.219 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.9161, allocations: 3.031 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.9161, allocations: 1.281 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.9161, allocations: 0 / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.9161, allocations: 1.406 kB / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.9161, allocations: 96 / 0.9579 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/0.9162, allocations: 90.92 kB / 0.958 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.9162, allocations: 91.78 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.9162, allocations: 0.9375 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.047e-05/0.9163, allocations: 0.9688 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.744e-05/0.9163, allocations: 1.312 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.9163, allocations: 1.281 kB / 0.9581 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.997e-05/0.9164, allocations: 118.2 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9164, allocations: 1.031 kB / 0.9582 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001841/0.9166, allocations: 14.98 kB / 0.9582 GB, free: 4.027 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 0.0001127/0.9167, allocations: 107.8 kB / 0.9583 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.9168, allocations: 18.25 kB / 0.9583 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9168, allocations: 0 / 0.9583 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.9168, allocations: 8.109 kB / 0.9584 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001605/0.917, allocations: 7.156 kB / 0.9584 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.9173, allocations: 177.7 kB / 0.9585 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.9174, allocations: 0.6915 MB / 0.9592 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.691e-05/0.9175, allocations: 11.95 kB / 0.9592 GB, free: 3.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.9175, allocations: 11.03 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.9175, allocations: 1.156 kB / 0.9592 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of Templates: time 0.002572/0.9201, allocations: 417.6 kB / 0.9596 GB, free: 2.801 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/jenkins/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