Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.To_gal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.001147/0.001147, 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.001679/0.001679, allocations: 177.3 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.397/2.397, allocations: 390.9 MB / 0.667 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003937/0.0003937, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7917/0.7922, allocations: 142.4 MB / 0.9557 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0009998/0.7932, allocations: 0.5378 MB / 0.9562 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001064/0.7933, allocations: 45.56 kB / 0.9563 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.7934, allocations: 1.5 kB / 0.9563 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.072e-05/0.7934, allocations: 7.922 kB / 0.9563 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.171e-05/0.7935, allocations: 5.344 kB / 0.9563 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.478e-05/0.7936, allocations: 19.95 kB / 0.9563 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.7937, allocations: 54.39 kB / 0.9564 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.7938, allocations: 34.84 kB / 0.9564 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.7939, allocations: 28.97 kB / 0.9564 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.681e-05/0.7939, allocations: 21.2 kB / 0.9564 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.794, allocations: 1.438 kB / 0.9564 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.236e-06/0.794, allocations: 1.25 kB / 0.9564 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.794, allocations: 10.81 kB / 0.9565 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.123e-05/0.7941, allocations: 45.8 kB / 0.9565 GB, free: 6.965 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.151e-05/0.7941, allocations: 56.78 kB / 0.9565 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7942, allocations: 0 / 0.9565 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7942, allocations: 0 / 0.9565 GB, free: 6.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.7942, allocations: 1.438 kB / 0.9566 GB, free: 6.922 MB / 0.7169 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.0003518/0.7945, allocations: 360.2 kB / 0.9569 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.7946, allocations: 10.12 kB / 0.9569 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.733e-05/0.7946, allocations: 13.12 kB / 0.9569 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.7948, allocations: 206.7 kB / 0.9571 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.7948, allocations: 7.312 kB / 0.9571 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.7949, allocations: 9.547 kB / 0.9571 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.795, allocations: 91.27 kB / 0.9572 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.795, allocations: 4.188 kB / 0.9572 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.7951, allocations: 9.469 kB / 0.9572 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.7951, allocations: 5.438 kB / 0.9572 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.991e-05/0.7951, allocations: 31.89 kB / 0.9573 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.7956, allocations: 433.5 kB / 0.9577 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.7957, allocations: 45.36 kB / 0.9577 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.681e-05/0.7957, allocations: 19.78 kB / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.7957, allocations: 0 / 0.9577 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.457e-05/0.7957, allocations: 32.41 kB / 0.9578 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.7958, allocations: 7.938 kB / 0.9578 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000167/0.7959, allocations: 50.77 kB / 0.9578 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.796, allocations: 85.97 kB / 0.9579 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.7961, allocations: 159.6 kB / 0.9581 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-06/0.7961, allocations: 26.61 kB / 0.9581 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.6e-05/0.7962, allocations: 104 kB / 0.9582 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.907e-06/0.7962, allocations: 8.969 kB / 0.9582 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.7962, allocations: 15.08 kB / 0.9582 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.7963, allocations: 321.2 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.7963, allocations: 2.844 kB / 0.9585 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.7963, allocations: 24.17 kB / 0.9585 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.695e-05/0.7963, allocations: 22.44 kB / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.7963, allocations: 0 / 0.9586 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.324e-05/0.7964, allocations: 66.09 kB / 0.9586 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.7964, allocations: 5.156 kB / 0.9586 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.7965, allocations: 4.906 kB / 0.9586 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.7965, allocations: 0.75 kB / 0.9586 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.144e-05/0.7965, allocations: 5.312 kB / 0.9586 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7966, allocations: 1.156 kB / 0.9586 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.134e-05/0.7966, allocations: 10.44 kB / 0.9587 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.7966, allocations: 5.094 kB / 0.9587 GB, free: 4.762 MB / 0.7169 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 6.456e-05/0.7967, allocations: 117.8 kB / 0.9588 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.147e-05/0.7967, allocations: 11.34 kB / 0.9588 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.364e-05/0.7967, allocations: 18.8 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7967, allocations: 1 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.7968, allocations: 0.75 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.7968, allocations: 1 kB / 0.9588 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.7971, allocations: 474.6 kB / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7971, allocations: 0 / 0.9593 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.7971, allocations: 7.062 kB / 0.9593 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.7971, allocations: 1.094 kB / 0.9593 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.7971, allocations: 5.062 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.7971, allocations: 0 / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7971, allocations: 1.156 kB / 0.9593 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.593e-05/0.7972, allocations: 77.92 kB / 0.9593 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.7972, allocations: 100.7 kB / 0.9594 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.7973, allocations: 1 kB / 0.9594 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.999e-05/0.7973, allocations: 1.156 kB / 0.9594 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.609e-05/0.7973, allocations: 4.938 kB / 0.9594 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.7973, allocations: 1.062 kB / 0.9594 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.889e-05/0.7974, allocations: 121.7 kB / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7974, allocations: 0 / 0.9596 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001856/0.7976, allocations: 7.719 kB / 0.9596 GB, free: 3.809 MB / 0.7169 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.0001044/0.7977, allocations: 100.2 kB / 0.9597 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.587e-05/0.7978, allocations: 17.83 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7978, allocations: 1.094 kB / 0.9597 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.468e-06/0.7978, allocations: 7.281 kB / 0.9597 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.798, allocations: 13.89 kB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/0.7983, allocations: 210.9 kB / 0.9599 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001238/0.7984, allocations: 0.6956 MB / 0.9606 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.208e-05/0.7984, allocations: 10.75 kB / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of SimCode: time 2.7e-07/0.7984, allocations: 0 / 0.9606 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of Templates: time 0.002296/0.8007, allocations: 0.8493 MB / 0.9614 GB, free: 2.336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches