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.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.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.001313/0.001313, allocations: 111.7 kB / 15.99 MB, free: 5.914 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.001264/0.001264, allocations: 188 kB / 16.91 MB, free: 5.758 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.387/1.387, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.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.264/2.264, allocations: 390.2 MB / 0.665 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 68.47 kB / 0.8127 GB, free: 32.53 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2647, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002357/0.2671, allocations: 0.8784 MB / 0.9506 GB, free: 8.352 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000138/0.2672, allocations: 39.8 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.408e-05/0.2673, allocations: 0 / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.295e-05/0.2674, allocations: 7.922 kB / 0.9507 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.558e-05/0.2675, allocations: 3.938 kB / 0.9507 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.3e-05/0.2675, allocations: 16 kB / 0.9507 GB, free: 8.285 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.2677, allocations: 63.83 kB / 0.9508 GB, free: 8.223 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.2678, allocations: 43.97 kB / 0.9508 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.866e-05/0.2679, allocations: 27.8 kB / 0.9508 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.49e-05/0.268, allocations: 27.86 kB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.268, allocations: 8 kB / 0.9509 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.268, allocations: 8 kB / 0.9509 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.2681, allocations: 15.92 kB / 0.9509 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.095e-05/0.2681, allocations: 35.8 kB / 0.9509 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001046/0.2682, allocations: 56.17 kB / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.2682, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.224e-06/0.2682, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.2682, allocations: 0 / 0.951 GB, free: 8.004 MB / 0.7325 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.0004693/0.2687, allocations: 375.2 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.2688, allocations: 15.97 kB / 0.9513 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2688, allocations: 12.83 kB / 0.9514 GB, free: 7.559 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.269, allocations: 196.1 kB / 0.9515 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.2691, allocations: 8.375 kB / 0.9516 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.539e-05/0.2691, allocations: 8.312 kB / 0.9516 GB, free: 7.312 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.2692, allocations: 95.86 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2693, allocations: 4.188 kB / 0.9517 GB, free: 7.203 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.2693, allocations: 7.938 kB / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.2693, allocations: 0 / 0.9517 GB, free: 7.195 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.2694, allocations: 43.92 kB / 0.9517 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.27, allocations: 432.6 kB / 0.9521 GB, free: 6.676 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.611e-05/0.27, allocations: 45.28 kB / 0.9522 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/0.2701, allocations: 17.84 kB / 0.9522 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.2701, allocations: 4 kB / 0.9522 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.2701, allocations: 30.56 kB / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.2701, allocations: 0 / 0.9522 GB, free: 6.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001713/0.2703, allocations: 57.72 kB / 0.9523 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.2704, allocations: 89.05 kB / 0.9523 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2705, allocations: 168.4 kB / 0.9525 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2705, allocations: 25.7 kB / 0.9525 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.043e-05/0.2706, allocations: 104 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.624e-06/0.2706, allocations: 3.906 kB / 0.9526 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.373e-05/0.2707, allocations: 17.72 kB / 0.9527 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.2708, allocations: 322.8 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.608e-05/0.2708, allocations: 0 / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.166e-05/0.2709, allocations: 25.72 kB / 0.953 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.975e-05/0.2709, allocations: 21.72 kB / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2709, allocations: 0 / 0.953 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.688e-05/0.271, allocations: 61.53 kB / 0.9531 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.271, allocations: 8 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.271, allocations: 3.938 kB / 0.9531 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.271, allocations: 4.062 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.235e-05/0.2711, allocations: 7.938 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2711, allocations: 4 kB / 0.9531 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.2712, allocations: 11.83 kB / 0.9531 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.439e-06/0.2712, allocations: 0 / 0.9531 GB, free: 5.555 MB / 0.7325 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 8.465e-05/0.2713, allocations: 119.8 kB / 0.9532 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.2713, allocations: 7.906 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.552e-05/0.2713, allocations: 15.81 kB / 0.9532 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.2714, allocations: 4 kB / 0.9532 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2714, allocations: 4 kB / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2714, allocations: 0 / 0.9532 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003777/0.2718, allocations: 466.8 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2718, allocations: 3.984 kB / 0.9537 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.2718, allocations: 7.938 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2718, allocations: 0 / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.2718, allocations: 4 kB / 0.9537 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2718, allocations: 4.062 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2718, allocations: 0 / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.749e-05/0.2719, allocations: 73.84 kB / 0.9538 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.81e-05/0.272, allocations: 89 kB / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.272, allocations: 4 kB / 0.9539 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.361e-05/0.272, allocations: 11.94 kB / 0.9539 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.056e-05/0.272, allocations: 4.031 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.2721, allocations: 0 / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.244e-05/0.2721, allocations: 121.3 kB / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.2722, allocations: 0 / 0.954 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001991/0.2724, allocations: 8 kB / 0.954 GB, free: 4.516 MB / 0.7325 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.0001203/0.2725, allocations: 99.23 kB / 0.9541 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.223e-05/0.2726, allocations: 16 kB / 0.9541 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.2726, allocations: 4.125 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.414e-05/0.2726, allocations: 11.94 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.2728, allocations: 13.34 kB / 0.9541 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.2731, allocations: 212.6 kB / 0.9544 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.2734, allocations: 0.6961 MB / 0.955 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.588e-05/0.2734, allocations: 11.44 kB / 0.955 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of SimCode: time 3.5e-07/0.2734, allocations: 0 / 0.955 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of Templates: time 0.002395/0.2758, allocations: 0.8638 MB / 0.9559 GB, free: 2.52 MB / 0.7325 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