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.0008241/0.0008241, allocations: 91.92 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001018/0.001017, allocations: 181.1 kB / 16.92 MB, free: 6.652 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.463/1.463, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.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.751/2.751, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003627, allocations: 11.98 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5969/0.5973, allocations: 153.8 MB / 1.024 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001007/0.5983, allocations: 0.5393 MB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.5985, allocations: 39.78 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.017e-05/0.5986, allocations: 4 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.5986, allocations: 7.922 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.741e-05/0.5987, allocations: 3.938 kB / 1.024 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 4.719e-05/0.5987, allocations: 19.98 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.131e-05/0.5988, allocations: 59.84 kB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.599, allocations: 35.97 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.833e-05/0.5991, allocations: 19.81 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.489e-05/0.5991, allocations: 19.86 kB / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.5991, allocations: 0 / 1.024 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.258e-06/0.5992, allocations: 8 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.73e-05/0.5992, allocations: 7.922 kB / 1.024 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.858e-05/0.5992, allocations: 57.5 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.89e-05/0.5993, allocations: 45.86 kB / 1.025 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.5993, allocations: 0 / 1.025 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.356e-06/0.5993, allocations: 0 / 1.025 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.5994, allocations: 3.938 kB / 1.025 GB, free: 15.07 MB / 0.7794 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.0004099/0.5998, allocations: 371.2 kB / 1.025 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5998, allocations: 8.031 kB / 1.025 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.5999, allocations: 12.84 kB / 1.025 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.6001, allocations: 196.1 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.6001, allocations: 8.375 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.6001, allocations: 4.375 kB / 1.025 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6003, allocations: 87.95 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6003, allocations: 192 / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.6003, allocations: 11.88 kB / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6004, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.276e-05/0.6004, allocations: 35.98 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005685/0.601, allocations: 444.4 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.323e-05/0.6011, allocations: 41.28 kB / 1.026 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.1e-05/0.6012, allocations: 25.84 kB / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.934e-06/0.6012, allocations: 0 / 1.026 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.6012, allocations: 34.5 kB / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.6012, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001765/0.6014, allocations: 57.53 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.6014, allocations: 85.3 kB / 1.026 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.6016, allocations: 162.2 kB / 1.026 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.6016, allocations: 25.7 kB / 1.026 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.6017, allocations: 99.98 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.158e-06/0.6017, allocations: 7.891 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.6017, allocations: 17.72 kB / 1.026 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.6019, allocations: 314.8 kB / 1.027 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.6019, allocations: 7.984 kB / 1.027 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.673e-05/0.6019, allocations: 21.72 kB / 1.027 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.099e-05/0.602, allocations: 21.72 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.602, allocations: 4 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.88e-05/0.6021, allocations: 61.53 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6021, allocations: 4 kB / 1.027 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.6021, allocations: 7.875 kB / 1.027 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.6021, allocations: 4 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.062e-05/0.6022, allocations: 8.062 kB / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.6022, allocations: 0 / 1.027 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.4e-05/0.6022, allocations: 7.906 kB / 1.027 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.6023, allocations: 0 / 1.027 GB, free: 12.65 MB / 0.7794 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.693e-05/0.6023, allocations: 117.8 kB / 1.027 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.746e-05/0.6024, allocations: 11.89 kB / 1.027 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.656e-05/0.6024, allocations: 15.81 kB / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.6024, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6024, allocations: 0 / 1.027 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6025, allocations: 8 kB / 1.027 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.6028, allocations: 466.8 kB / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6029, allocations: 0 / 1.027 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.6029, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6029, allocations: 4.078 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.6029, allocations: 7.984 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.6029, allocations: 0 / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6029, allocations: 4.062 kB / 1.027 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.13e-05/0.603, allocations: 81.78 kB / 1.027 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.939e-05/0.6031, allocations: 92.94 kB / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.6031, allocations: 0 / 1.027 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.6031, allocations: 3.938 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.377e-05/0.6031, allocations: 4 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-06/0.6031, allocations: 4.031 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.313e-05/0.6032, allocations: 126.1 kB / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6032, allocations: 0 / 1.028 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002075/0.6035, allocations: 8 kB / 1.028 GB, free: 11.6 MB / 0.7794 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.000109/0.6036, allocations: 99.23 kB / 1.028 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.746e-05/0.6037, allocations: 19.98 kB / 1.028 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.6037, allocations: 3.938 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.6037, allocations: 8.125 kB / 1.028 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.6039, allocations: 11.94 kB / 1.028 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.6042, allocations: 207.8 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.6045, allocations: 0.6967 MB / 1.029 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.373e-05/0.6045, allocations: 11.44 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 3.5e-07/0.6045, allocations: 0 / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.002328/0.6068, allocations: 0.8442 MB / 1.029 GB, free: 9.621 MB / 0.7794 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 -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