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.01118/0.01118, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.002012/0.002012, allocations: 188 kB / 16.67 MB, free: 5.973 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.475/1.475, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.914/2.914, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.91 kB / 1.054 GB, free: 7.129 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3932, allocations: 157.4 MB / 1.208 GB, free: 9.629 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002112/0.3954, allocations: 0.8253 MB / 1.209 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.3955, allocations: 39.8 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.355e-05/0.3956, allocations: 0 / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.3956, allocations: 15.86 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.73e-05/0.3958, allocations: 11.88 kB / 1.209 GB, free: 8.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.883e-05/0.3958, allocations: 15.98 kB / 1.209 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.3959, allocations: 63.83 kB / 1.209 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3961, allocations: 43.92 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.474e-05/0.3961, allocations: 23.88 kB / 1.209 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.217e-05/0.3962, allocations: 31.78 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3962, allocations: 8 kB / 1.209 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.448e-06/0.3963, allocations: 4 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.3963, allocations: 15.94 kB / 1.209 GB, free: 8.531 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.3963, allocations: 43.72 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.3965, allocations: 63.72 kB / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.3965, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.203e-06/0.3965, allocations: 0 / 1.209 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.3965, allocations: 4 kB / 1.209 GB, free: 8.422 MB / 0.9669 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.0005048/0.397, allocations: 387.1 kB / 1.209 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3971, allocations: 12.62 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.931e-05/0.3971, allocations: 8.844 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002327/0.3973, allocations: 196.1 kB / 1.209 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3974, allocations: 4.375 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3974, allocations: 8.375 kB / 1.21 GB, free: 7.73 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3976, allocations: 99.89 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.3976, allocations: 192 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3976, allocations: 3.938 kB / 1.21 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3976, allocations: 4 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.144e-05/0.3977, allocations: 31.98 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.3983, allocations: 440.5 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.786e-05/0.3983, allocations: 41.27 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.33e-05/0.3984, allocations: 17.72 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.3984, allocations: 0 / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/0.3984, allocations: 38.59 kB / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/0.3984, allocations: 0 / 1.21 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001981/0.3986, allocations: 65.47 kB / 1.21 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.635e-05/0.3987, allocations: 77.11 kB / 1.21 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.3989, allocations: 158.2 kB / 1.21 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.3989, allocations: 25.7 kB / 1.21 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.674e-05/0.399, allocations: 99.98 kB / 1.211 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.205e-05/0.399, allocations: 7.891 kB / 1.211 GB, free: 6.5 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.248e-05/0.399, allocations: 21.62 kB / 1.211 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3992, allocations: 323.1 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.921e-05/0.3992, allocations: 11.92 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.266e-05/0.3992, allocations: 17.72 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.3993, allocations: 25.66 kB / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3993, allocations: 0 / 1.211 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.622e-05/0.3994, allocations: 57.75 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.3994, allocations: 8 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.3994, allocations: 3.938 kB / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.3994, allocations: 0 / 1.211 GB, free: 6.008 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.88e-05/0.3995, allocations: 11.94 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.3995, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.271e-05/0.3995, allocations: 7.844 kB / 1.211 GB, free: 5.984 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-06/0.3996, allocations: 4 kB / 1.211 GB, free: 5.98 MB / 0.9669 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 7.402e-05/0.3996, allocations: 113.8 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.3997, allocations: 11.89 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.295e-05/0.3997, allocations: 15.81 kB / 1.211 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.3997, allocations: 4 kB / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3997, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3997, allocations: 0 / 1.211 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.4001, allocations: 466.8 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4001, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-05/0.4001, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4001, allocations: 4.156 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.4002, allocations: 3.984 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.4002, allocations: 4 kB / 1.212 GB, free: 5.293 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4002, allocations: 3.984 kB / 1.212 GB, free: 5.289 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.9e-05/0.4003, allocations: 85.69 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.496e-05/0.4003, allocations: 89 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.4003, allocations: 4.031 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.821e-05/0.4004, allocations: 3.938 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.444e-05/0.4004, allocations: 4 kB / 1.212 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.316e-06/0.4004, allocations: 4 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.903e-05/0.4005, allocations: 121.9 kB / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4005, allocations: 0 / 1.212 GB, free: 4.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001777/0.4007, allocations: 4 kB / 1.212 GB, free: 4.941 MB / 0.9669 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.0001295/0.4008, allocations: 99.25 kB / 1.212 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.4009, allocations: 23.92 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4009, allocations: 3.938 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.4009, allocations: 4 kB / 1.212 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.4011, allocations: 17.5 kB / 1.212 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.4014, allocations: 160.6 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.4017, allocations: 0.697 MB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.032e-05/0.4017, allocations: 4.438 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.507e-05/0.4017, allocations: 19.36 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of SimCode: time 2.11e-07/0.4017, allocations: 0 / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of Templates: time 0.002475/0.4042, allocations: 464.9 kB / 1.213 GB, free: 3.398 MB / 0.9669 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