Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.00174/0.00174, allocations: 103.2 kB / 16.27 MB, free: 6.402 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.001897/0.001897, allocations: 188 kB / 17.2 MB, free: 5.938 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.413/1.413, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7111 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 64.56 kB / 0.8699 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3116, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002273/0.3139, allocations: 0.8289 MB / 1.019 GB, free: 9.801 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001151/0.3141, allocations: 43.78 kB / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.3141, allocations: 0 / 1.019 GB, free: 9.758 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.3142, allocations: 11.86 kB / 1.019 GB, free: 9.746 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.478e-05/0.3143, allocations: 7.938 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.934e-05/0.3143, allocations: 15.98 kB / 1.019 GB, free: 9.723 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.3144, allocations: 71.69 kB / 1.019 GB, free: 9.652 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001554/0.3146, allocations: 47.95 kB / 1.019 GB, free: 9.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.164e-05/0.3147, allocations: 23.86 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.989e-05/0.3147, allocations: 31.86 kB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.3147, allocations: 4 kB / 1.019 GB, free: 9.547 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.361e-05/0.3148, allocations: 8 kB / 1.019 GB, free: 9.539 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.536e-05/0.3148, allocations: 15.92 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.228e-05/0.3148, allocations: 35.75 kB / 1.019 GB, free: 9.488 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.315, allocations: 68.03 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.315, allocations: 3.938 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.442e-06/0.315, allocations: 0 / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.315, allocations: 0 / 1.019 GB, free: 9.418 MB / 0.795 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.0004886/0.3155, allocations: 379.2 kB / 1.02 GB, free: 8.996 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3155, allocations: 12.62 kB / 1.02 GB, free: 8.984 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.445e-05/0.3156, allocations: 8.844 kB / 1.02 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.3158, allocations: 196.1 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.3158, allocations: 4.375 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.3158, allocations: 8.375 kB / 1.02 GB, free: 8.734 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.316, allocations: 95.8 kB / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.316, allocations: 192 / 1.02 GB, free: 8.629 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3161, allocations: 11.94 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.3161, allocations: 4 kB / 1.02 GB, free: 8.613 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.2e-05/0.3162, allocations: 35.92 kB / 1.02 GB, free: 8.578 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005783/0.3167, allocations: 444.5 kB / 1.02 GB, free: 8.09 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.291e-05/0.3168, allocations: 37.22 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.3169, allocations: 25.75 kB / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.3169, allocations: 0 / 1.02 GB, free: 8.004 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.3169, allocations: 34.56 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.3169, allocations: 0 / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.3171, allocations: 65.47 kB / 1.02 GB, free: 7.891 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.464e-05/0.3172, allocations: 77.11 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.3174, allocations: 156.7 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3174, allocations: 25.7 kB / 1.021 GB, free: 7.602 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.3175, allocations: 108 kB / 1.021 GB, free: 7.492 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.3175, allocations: 7.906 kB / 1.021 GB, free: 7.484 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/0.3175, allocations: 13.72 kB / 1.021 GB, free: 7.465 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3176, allocations: 323.1 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.784e-05/0.3177, allocations: 8 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.3177, allocations: 21.7 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.544e-05/0.3178, allocations: 25.66 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3178, allocations: 0 / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.112e-05/0.3179, allocations: 61.59 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.3179, allocations: 12 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.3179, allocations: 7.938 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3179, allocations: 0 / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.111e-05/0.318, allocations: 8 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.318, allocations: 0 / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.318, allocations: 11.84 kB / 1.021 GB, free: 6.969 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-06/0.318, allocations: 0 / 1.021 GB, free: 6.969 MB / 0.795 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 9.225e-05/0.3181, allocations: 118.9 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.697e-05/0.3182, allocations: 7.906 kB / 1.021 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.3182, allocations: 19.81 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.3182, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.3182, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.3182, allocations: 0 / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.3186, allocations: 466.8 kB / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.3187, allocations: 0 / 1.022 GB, free: 6.297 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.15e-05/0.3187, allocations: 11.92 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3187, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.3187, allocations: 4.062 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3187, allocations: 4 kB / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3187, allocations: 0 / 1.022 GB, free: 6.277 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.859e-05/0.3188, allocations: 81.78 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.498e-05/0.3189, allocations: 89 kB / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.272e-05/0.3189, allocations: 0 / 1.022 GB, free: 6.07 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.198e-05/0.3189, allocations: 4.031 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.3189, allocations: 0 / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.319, allocations: 7.938 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of sorting global known variables: time 9.447e-05/0.3191, allocations: 123.2 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3191, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001933/0.3193, allocations: 4 kB / 1.022 GB, free: 5.934 MB / 0.795 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.0001134/0.3194, allocations: 103.2 kB / 1.022 GB, free: 5.82 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.689e-05/0.3195, allocations: 23.94 kB / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3195, allocations: 0 / 1.022 GB, free: 5.797 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.183e-05/0.3195, allocations: 4 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001494/0.3197, allocations: 10.59 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003404/0.32, allocations: 192.7 kB / 1.023 GB, free: 5.559 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.3203, allocations: 0.6929 MB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.3204, allocations: 11.44 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.3204, allocations: 0 / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of Templates: time 0.002474/0.3228, allocations: 0.8654 MB / 1.024 GB, free: 3.965 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches