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.001488/0.001488, allocations: 107.8 kB / 15.99 MB, free: 6.359 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.001537/0.001537, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.412/1.412, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.289/2.289, allocations: 390.2 MB / 0.665 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 71.92 kB / 0.8127 GB, free: 32.46 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2686, allocations: 140.4 MB / 0.9498 GB, free: 9.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002334/0.271, allocations: 0.8861 MB / 0.9506 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.2711, allocations: 39.84 kB / 0.9507 GB, free: 8.324 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.2712, allocations: 3.938 kB / 0.9507 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.606e-05/0.2712, allocations: 0 / 0.9507 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.064e-05/0.2713, allocations: 7.922 kB / 0.9507 GB, free: 8.312 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.854e-05/0.2714, allocations: 16 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.2715, allocations: 67.77 kB / 0.9508 GB, free: 8.23 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.2717, allocations: 39.97 kB / 0.9508 GB, free: 8.191 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.808e-05/0.2717, allocations: 23.92 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.758e-05/0.2718, allocations: 27.8 kB / 0.9509 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.2718, allocations: 8 kB / 0.9509 GB, free: 8.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.094e-05/0.2718, allocations: 8 kB / 0.9509 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2719, allocations: 19.92 kB / 0.9509 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.854e-05/0.2719, allocations: 31.81 kB / 0.9509 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.419e-05/0.272, allocations: 48.17 kB / 0.951 GB, free: 8.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.272, allocations: 4 kB / 0.951 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.272, allocations: 0 / 0.951 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.272, allocations: 0 / 0.951 GB, free: 8.023 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.0004418/0.2725, allocations: 387.1 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.2725, allocations: 8.031 kB / 0.9513 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2726, allocations: 8.844 kB / 0.9514 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.2728, allocations: 200.1 kB / 0.9515 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.2728, allocations: 384 / 0.9515 GB, free: 7.344 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.2728, allocations: 12.38 kB / 0.9516 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.273, allocations: 102.5 kB / 0.9517 GB, free: 7.223 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.2731, allocations: 4.188 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2731, allocations: 3.938 kB / 0.9517 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.2731, allocations: 7.938 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.798e-05/0.2732, allocations: 35.98 kB / 0.9517 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.2737, allocations: 436.6 kB / 0.9521 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.79e-05/0.2738, allocations: 41.2 kB / 0.9522 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.788e-05/0.2739, allocations: 17.78 kB / 0.9522 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.2739, allocations: 8.031 kB / 0.9522 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.2739, allocations: 34.56 kB / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2739, allocations: 0 / 0.9522 GB, free: 6.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001901/0.2741, allocations: 53.48 kB / 0.9523 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/0.2742, allocations: 81.34 kB / 0.9523 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.2743, allocations: 167.6 kB / 0.9525 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.2743, allocations: 25.7 kB / 0.9525 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.578e-05/0.2744, allocations: 108 kB / 0.9526 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.895e-06/0.2744, allocations: 3.906 kB / 0.9526 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.075e-05/0.2745, allocations: 21.7 kB / 0.9527 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.2746, allocations: 314.8 kB / 0.953 GB, free: 5.742 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.072e-05/0.2746, allocations: 7.984 kB / 0.953 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.415e-05/0.2746, allocations: 21.72 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.182e-05/0.2747, allocations: 29.66 kB / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2747, allocations: 0 / 0.953 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.55e-05/0.2748, allocations: 57.59 kB / 0.9531 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.2748, allocations: 4 kB / 0.9531 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.2748, allocations: 7.938 kB / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2748, allocations: 0 / 0.9531 GB, free: 5.598 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.2749, allocations: 12 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2749, allocations: 0 / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.391e-05/0.275, allocations: 15.78 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.898e-06/0.275, allocations: 0 / 0.9531 GB, free: 5.57 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 6.952e-05/0.275, allocations: 113.8 kB / 0.9532 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.36e-05/0.2751, allocations: 7.906 kB / 0.9532 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.747e-05/0.2751, allocations: 19.8 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.2751, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2751, allocations: 0 / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2752, allocations: 4 kB / 0.9532 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003806/0.2755, allocations: 466.9 kB / 0.9537 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2756, allocations: 0 / 0.9537 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.011e-05/0.2756, allocations: 7.984 kB / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2756, allocations: 0 / 0.9537 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.2756, allocations: 8 kB / 0.9537 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2756, allocations: 3.984 kB / 0.9537 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.2756, allocations: 4 kB / 0.9537 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.334e-05/0.2757, allocations: 81.78 kB / 0.9538 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.2758, allocations: 89 kB / 0.9539 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.2758, allocations: 0 / 0.9539 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.2758, allocations: 8 kB / 0.9539 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.2758, allocations: 4 kB / 0.9539 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.2758, allocations: 4.031 kB / 0.9539 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.478e-05/0.2759, allocations: 122.5 kB / 0.954 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2759, allocations: 0 / 0.954 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001945/0.2761, allocations: 8 kB / 0.954 GB, free: 4.527 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.0001234/0.2763, allocations: 98.2 kB / 0.9541 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.671e-05/0.2764, allocations: 23.92 kB / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2764, allocations: 0 / 0.9541 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.348e-05/0.2764, allocations: 12.12 kB / 0.9541 GB, free: 4.391 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001691/0.2766, allocations: 7.938 kB / 0.9542 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003439/0.2769, allocations: 208.3 kB / 0.9543 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2772, allocations: 0.7118 MB / 0.955 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.906e-05/0.2772, allocations: 11.44 kB / 0.9551 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2772, allocations: 0 / 0.9551 GB, free: 3.395 MB / 0.7325 GB Notification: Performance of Templates: time 0.002341/0.2796, allocations: 0.852 MB / 0.9559 GB, free: 2.539 MB / 0.7325 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