Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01023/0.01023, allocations: 105.8 kB / 15.74 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.001764/0.001764, allocations: 192.3 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.617/1.617, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.75/2.75, allocations: 461.9 MB / 0.7348 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 67.89 kB / 1.054 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4091, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.002019/0.4111, allocations: 0.8315 MB / 1.209 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.4113, allocations: 31.86 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.4113, allocations: 4 kB / 1.209 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.896e-05/0.4114, allocations: 11.88 kB / 1.209 GB, free: 8.766 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.4115, allocations: 19.84 kB / 1.209 GB, free: 8.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 4.542e-05/0.4116, allocations: 15.98 kB / 1.209 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001136/0.4117, allocations: 63.84 kB / 1.209 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.4118, allocations: 43.92 kB / 1.209 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 8.056e-05/0.4119, allocations: 31.8 kB / 1.209 GB, free: 8.594 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.412, allocations: 23.86 kB / 1.209 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.299e-05/0.412, allocations: 8 kB / 1.209 GB, free: 8.562 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.412, allocations: 4 kB / 1.209 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.764e-05/0.4121, allocations: 19.92 kB / 1.209 GB, free: 8.539 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.4121, allocations: 27.75 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.4122, allocations: 83.62 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4122, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.875e-06/0.4123, allocations: 0 / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.4123, allocations: 4 kB / 1.209 GB, free: 8.426 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.0004558/0.4127, allocations: 379.2 kB / 1.209 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.4128, allocations: 8.625 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.4128, allocations: 16.78 kB / 1.209 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.4131, allocations: 188.2 kB / 1.209 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.624e-05/0.4131, allocations: 8.375 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.49e-05/0.4131, allocations: 12.31 kB / 1.21 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.4133, allocations: 91.95 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.4133, allocations: 192 / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.4133, allocations: 7.938 kB / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4133, allocations: 0 / 1.21 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/0.4134, allocations: 35.92 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000537/0.414, allocations: 440.6 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.584e-05/0.414, allocations: 41.19 kB / 1.21 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.705e-05/0.4141, allocations: 21.84 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-06/0.4141, allocations: 0 / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.4141, allocations: 30.56 kB / 1.21 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4141, allocations: 4 kB / 1.21 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001829/0.4143, allocations: 61.47 kB / 1.21 GB, free: 6.914 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.4144, allocations: 81.11 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.4145, allocations: 154.2 kB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.364e-05/0.4145, allocations: 25.7 kB / 1.21 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.002e-05/0.4146, allocations: 108 kB / 1.211 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.215e-06/0.4146, allocations: 3.906 kB / 1.211 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.957e-05/0.4147, allocations: 17.88 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.4148, allocations: 326.8 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.106e-05/0.4148, allocations: 8 kB / 1.211 GB, free: 6.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.433e-05/0.4149, allocations: 25.59 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.04e-05/0.4149, allocations: 25.7 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.4149, allocations: 0 / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.802e-05/0.415, allocations: 53.64 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.415, allocations: 8 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.415, allocations: 3.938 kB / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.415, allocations: 96 / 1.211 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.968e-05/0.4151, allocations: 15.98 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.4151, allocations: 0 / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.4152, allocations: 11.83 kB / 1.211 GB, free: 5.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4152, allocations: 4 kB / 1.211 GB, free: 5.988 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.351e-05/0.4153, allocations: 113.8 kB / 1.211 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.166e-05/0.4153, allocations: 11.97 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.333e-05/0.4153, allocations: 7.812 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.4153, allocations: 4 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4154, allocations: 0 / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4154, allocations: 7.922 kB / 1.211 GB, free: 5.836 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003772/0.4157, allocations: 470.8 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.4158, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.735e-05/0.4158, allocations: 12.06 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4158, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.4158, allocations: 0 / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.4158, allocations: 3.938 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4158, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.866e-05/0.4159, allocations: 89.73 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.588e-05/0.416, allocations: 81.02 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.46e-05/0.416, allocations: 8.031 kB / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.416, allocations: 0 / 1.212 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.4161, allocations: 3.984 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.4161, allocations: 0 / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.129e-05/0.4162, allocations: 121.7 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4162, allocations: 0 / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.000183/0.4164, allocations: 12 kB / 1.212 GB, free: 4.949 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.0001249/0.4165, allocations: 99.19 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001019/0.4166, allocations: 20 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4166, allocations: 0 / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.26e-05/0.4166, allocations: 11.88 kB / 1.212 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001602/0.4168, allocations: 17.66 kB / 1.212 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003098/0.4171, allocations: 158.8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.4174, allocations: 0.6931 MB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.4175, allocations: 8.422 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.187e-05/0.4175, allocations: 11.44 kB / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of SimCode: time 2.21e-07/0.4175, allocations: 0 / 1.213 GB, free: 3.867 MB / 0.9669 GB Notification: Performance of Templates: time 0.002681/0.4202, allocations: 464 kB / 1.213 GB, free: 3.418 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches