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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001148/0.001148, allocations: 111.9 kB / 16.37 MB, free: 6.016 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.001092/0.001092, allocations: 197.6 kB / 17.31 MB, free: 5.613 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.378/1.378, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 71.92 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2948/0.2964, allocations: 151.6 MB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002375/0.2988, allocations: 0.8327 MB / 1.02 GB, free: 9.004 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.299, allocations: 43.78 kB / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.646e-05/0.299, allocations: 0 / 1.02 GB, free: 8.961 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.2991, allocations: 7.875 kB / 1.02 GB, free: 8.953 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.2992, allocations: 7.922 kB / 1.02 GB, free: 8.945 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.147e-05/0.2993, allocations: 19.98 kB / 1.02 GB, free: 8.926 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/0.2994, allocations: 71.67 kB / 1.02 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.2995, allocations: 43.97 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.268e-05/0.2996, allocations: 27.86 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.545e-05/0.2997, allocations: 31.78 kB / 1.02 GB, free: 8.754 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.2997, allocations: 8 kB / 1.02 GB, free: 8.746 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.458e-06/0.2997, allocations: 4 kB / 1.02 GB, free: 8.742 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2997, allocations: 12 kB / 1.02 GB, free: 8.73 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.804e-05/0.2998, allocations: 39.73 kB / 1.02 GB, free: 8.691 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.2999, allocations: 75.64 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2999, allocations: 0 / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2999, allocations: 0 / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.2999, allocations: 0 / 1.02 GB, free: 8.617 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.0004677/0.3004, allocations: 379.2 kB / 1.02 GB, free: 8.195 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3004, allocations: 8.922 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.3005, allocations: 8.844 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.3007, allocations: 188.2 kB / 1.021 GB, free: 7.957 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.3008, allocations: 16.25 kB / 1.021 GB, free: 7.941 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.13e-05/0.3008, allocations: 8.375 kB / 1.021 GB, free: 7.934 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.3009, allocations: 95.84 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.301, allocations: 192 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.301, allocations: 7.938 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.301, allocations: 0 / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.323e-05/0.3011, allocations: 39.92 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005616/0.3016, allocations: 436.6 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 5.455e-05/0.3017, allocations: 41.19 kB / 1.021 GB, free: 7.242 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.482e-05/0.3017, allocations: 17.84 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.3018, allocations: 0 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.3018, allocations: 42.55 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 2.154e-06/0.3018, allocations: 0 / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.302, allocations: 57.42 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.3021, allocations: 81.11 kB / 1.021 GB, free: 7.008 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3022, allocations: 160.9 kB / 1.021 GB, free: 6.844 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.479e-05/0.3022, allocations: 25.7 kB / 1.022 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.66e-05/0.3023, allocations: 108.2 kB / 1.022 GB, free: 6.703 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.3023, allocations: 3.906 kB / 1.022 GB, free: 6.699 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.3024, allocations: 17.72 kB / 1.022 GB, free: 6.676 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.3025, allocations: 322.8 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.3025, allocations: 0 / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.3025, allocations: 29.64 kB / 1.022 GB, free: 6.316 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.085e-05/0.3026, allocations: 25.72 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3026, allocations: 0 / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.373e-05/0.3027, allocations: 57.55 kB / 1.022 GB, free: 6.223 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3027, allocations: 8 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3027, allocations: 3.938 kB / 1.022 GB, free: 6.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.3027, allocations: 3.984 kB / 1.022 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.3028, allocations: 4 kB / 1.022 GB, free: 6.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.3028, allocations: 4 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.3028, allocations: 7.844 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.518e-06/0.3029, allocations: 4.062 kB / 1.022 GB, free: 6.188 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 8.101e-05/0.3029, allocations: 113.8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.721e-05/0.303, allocations: 11.91 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.303, allocations: 19.8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.303, allocations: 0 / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.3031, allocations: 4 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3031, allocations: 0 / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003794/0.3034, allocations: 470.8 kB / 1.023 GB, free: 5.508 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3035, allocations: 3.938 kB / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.835e-05/0.3035, allocations: 0 / 1.023 GB, free: 5.504 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3035, allocations: 4 kB / 1.023 GB, free: 5.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.3035, allocations: 7.938 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3035, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3035, allocations: 0 / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.876e-05/0.3036, allocations: 81.89 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.627e-05/0.3037, allocations: 89.09 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3037, allocations: 7.922 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.1e-05/0.3037, allocations: 8 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.201e-05/0.3037, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.3038, allocations: 0 / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of sorting global known variables: time 8.848e-05/0.3038, allocations: 121.1 kB / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3039, allocations: 0 / 1.023 GB, free: 5.152 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001903/0.304, allocations: 8.031 kB / 1.023 GB, free: 5.145 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.0001218/0.3042, allocations: 103.2 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.3043, allocations: 16 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3043, allocations: 0 / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.3043, allocations: 11.94 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001564/0.3045, allocations: 16.98 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/0.3048, allocations: 163.7 kB / 1.023 GB, free: 4.797 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002172/0.305, allocations: 0.6885 MB / 1.024 GB, free: 4.082 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.279e-05/0.3051, allocations: 8.422 kB / 1.024 GB, free: 4.074 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/0.3051, allocations: 11.44 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of SimCode: time 1.9e-07/0.3051, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of Templates: time 0.002511/0.3076, allocations: 450 kB / 1.024 GB, free: 3.625 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=480 -s gbode -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