Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0007638/0.0007639, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005681/0.005681, allocations: 172.4 kB / 16.26 MB, free: 6.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.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 462.7 MB / 0.7364 GB, free: 292 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.000444, allocations: 15.23 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.393/0.3935, allocations: 159.6 MB / 1.059 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001175/0.3947, allocations: 0.5492 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001604/0.3949, allocations: 39.78 kB / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.941e-05/0.395, allocations: 0 / 1.059 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.412e-05/0.395, allocations: 11.92 kB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3951, allocations: 7.938 kB / 1.059 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.267e-05/0.3952, allocations: 15.98 kB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3953, allocations: 59.75 kB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.3955, allocations: 43.97 kB / 1.059 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.475e-05/0.3956, allocations: 15.88 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.91e-05/0.3956, allocations: 15.86 kB / 1.059 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.3956, allocations: 4 kB / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.688e-06/0.3957, allocations: 0 / 1.059 GB, free: 4.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.273e-05/0.3957, allocations: 15.88 kB / 1.059 GB, free: 4.715 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.859e-05/0.3957, allocations: 53.48 kB / 1.059 GB, free: 4.656 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.3959, allocations: 63.98 kB / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3959, allocations: 0 / 1.06 GB, free: 4.594 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3959, allocations: 3.938 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.3959, allocations: 4 kB / 1.06 GB, free: 4.586 MB / 0.8106 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.0004498/0.3963, allocations: 363.3 kB / 1.06 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3964, allocations: 8.031 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.881e-05/0.3965, allocations: 12.84 kB / 1.06 GB, free: 4.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.3967, allocations: 192.2 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3967, allocations: 8.312 kB / 1.06 GB, free: 3.926 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.3967, allocations: 8.375 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3969, allocations: 91.95 kB / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3969, allocations: 192 / 1.06 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.397, allocations: 7.938 kB / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.397, allocations: 0 / 1.06 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.3971, allocations: 39.92 kB / 1.06 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006093/0.3977, allocations: 452.5 kB / 1.061 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.693e-05/0.3977, allocations: 45.23 kB / 1.061 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.045e-05/0.3978, allocations: 17.78 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.3978, allocations: 0 / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.422e-05/0.3978, allocations: 38.56 kB / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3979, allocations: 0 / 1.061 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001946/0.3981, allocations: 61.47 kB / 1.061 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.3981, allocations: 77.11 kB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.3983, allocations: 157.1 kB / 1.061 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3983, allocations: 25.7 kB / 1.061 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.3984, allocations: 111.9 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.3984, allocations: 4 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.3984, allocations: 13.97 kB / 1.061 GB, free: 2.652 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.3985, allocations: 318.8 kB / 1.061 GB, free: 2.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.074e-05/0.3986, allocations: 8 kB / 1.062 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.516e-05/0.3986, allocations: 17.66 kB / 1.062 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.326e-05/0.3987, allocations: 29.72 kB / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3987, allocations: 0 / 1.062 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.678e-05/0.3988, allocations: 61.53 kB / 1.062 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3988, allocations: 4 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.3988, allocations: 7.938 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3988, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.123e-05/0.3989, allocations: 4 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.3989, allocations: 0 / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.399, allocations: 15.84 kB / 1.062 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-06/0.399, allocations: 0 / 1.062 GB, free: 2.168 MB / 0.8106 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 0.0001043/0.3991, allocations: 119.4 kB / 1.062 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.3992, allocations: 15.84 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.3992, allocations: 11.81 kB / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3992, allocations: 0 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.3992, allocations: 0 / 1.062 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.3992, allocations: 4 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004019/0.3996, allocations: 466.8 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.3996, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.456e-05/0.3997, allocations: 8.047 kB / 1.062 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3997, allocations: 7.938 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.3997, allocations: 3.938 kB / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3997, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3997, allocations: 0 / 1.062 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.98e-05/0.3998, allocations: 73.84 kB / 1.062 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.3999, allocations: 97.03 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3999, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.166e-05/0.3999, allocations: 4 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.3999, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.3999, allocations: 0 / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.204e-05/0.4, allocations: 121.9 kB / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4, allocations: 0 / 1.063 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000197/0.4002, allocations: 11.91 kB / 1.063 GB, free: 1.129 MB / 0.8106 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.0001437/0.4004, allocations: 111.2 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.043e-05/0.4005, allocations: 16 kB / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4005, allocations: 0 / 1.063 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.308e-05/0.4005, allocations: 7.938 kB / 1.063 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.4007, allocations: 19.11 kB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003638/0.4011, allocations: 180.8 kB / 1.063 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.4013, allocations: 0.6887 MB / 1.064 GB, free: 44 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.725e-05/0.4014, allocations: 8.422 kB / 1.064 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.509e-05/0.4014, allocations: 15.44 kB / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.4014, allocations: 0 / 1.064 GB, free: 20 kB / 0.8106 GB Notification: Performance of Templates: time 0.002759/0.4042, allocations: 432.6 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches