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.00131/0.00131, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001537/0.001537, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 223.2 MB / 239.9 MB, free: 5.316 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.442/2.442, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003447, allocations: 8 kB / 0.8145 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9224/0.9228, allocations: 142.3 MB / 0.9535 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.001066/0.9239, allocations: 0.5142 MB / 0.954 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001103/0.924, allocations: 41.53 kB / 0.9541 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.549e-05/0.9241, allocations: 5.25 kB / 0.9541 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.9e-05/0.9241, allocations: 3.938 kB / 0.9541 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.493e-05/0.9242, allocations: 9.5 kB / 0.9541 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.135e-05/0.9242, allocations: 15.92 kB / 0.9541 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.118e-05/0.9243, allocations: 34.88 kB / 0.9541 GB, free: 7.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.9245, allocations: 26.81 kB / 0.9541 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.207e-05/0.9245, allocations: 21.27 kB / 0.9542 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.784e-05/0.9246, allocations: 24.73 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.379e-05/0.9246, allocations: 1.125 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.9246, allocations: 2.156 kB / 0.9542 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.563e-05/0.9246, allocations: 10.3 kB / 0.9542 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.653e-05/0.9247, allocations: 33.3 kB / 0.9542 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.086e-05/0.9248, allocations: 53.88 kB / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.9248, allocations: 0 / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9248, allocations: 0 / 0.9543 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.9248, allocations: 0 / 0.9543 GB, free: 7.469 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.000371/0.9252, allocations: 368.4 kB / 0.9546 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.9252, allocations: 9.406 kB / 0.9546 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.9253, allocations: 16.2 kB / 0.9547 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001706/0.9254, allocations: 189.2 kB / 0.9548 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.731e-05/0.9255, allocations: 7.094 kB / 0.9548 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.9255, allocations: 5.062 kB / 0.9549 GB, free: 6.852 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.9256, allocations: 92.77 kB / 0.9549 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.537e-06/0.9257, allocations: 5.062 kB / 0.9549 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.9257, allocations: 8.875 kB / 0.955 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.9257, allocations: 2.031 kB / 0.955 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.608e-05/0.9258, allocations: 34.88 kB / 0.955 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000477/0.9263, allocations: 438.3 kB / 0.9554 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.655e-05/0.9263, allocations: 45.33 kB / 0.9555 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.9263, allocations: 0 / 0.9555 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.9264, allocations: 39.7 kB / 0.9555 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.9264, allocations: 3.938 kB / 0.9555 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001729/0.9265, allocations: 47.42 kB / 0.9555 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.9266, allocations: 90.39 kB / 0.9556 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.9267, allocations: 158.8 kB / 0.9558 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.9267, allocations: 25.7 kB / 0.9558 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.9268, allocations: 108.7 kB / 0.9559 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.547e-06/0.9268, allocations: 9.031 kB / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.9268, allocations: 0 / 0.9559 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.919e-05/0.9269, allocations: 325.3 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.569e-05/0.9269, allocations: 3.438 kB / 0.9562 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.831e-05/0.9269, allocations: 26.52 kB / 0.9563 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.249e-05/0.9269, allocations: 7.688 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.9269, allocations: 1.312 kB / 0.9563 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.8e-05/0.927, allocations: 54.64 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.927, allocations: 5.188 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.927, allocations: 0 / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.9271, allocations: 1.531 kB / 0.9563 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.387e-05/0.9271, allocations: 9.453 kB / 0.9563 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9272, allocations: 5.594 kB / 0.9563 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.892e-05/0.9272, allocations: 5.094 kB / 0.9563 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.9272, allocations: 1.906 kB / 0.9563 GB, free: 5.371 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.713e-05/0.9273, allocations: 117 kB / 0.9565 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.9273, allocations: 8.125 kB / 0.9565 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.245e-05/0.9273, allocations: 10.2 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.9274, allocations: 1.438 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.9274, allocations: 1.156 kB / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.9274, allocations: 0 / 0.9565 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.9276, allocations: 478.2 kB / 0.9569 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.9277, allocations: 1.625 kB / 0.9569 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.9277, allocations: 5.938 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.9277, allocations: 1.031 kB / 0.9569 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.9277, allocations: 4.969 kB / 0.9569 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.9277, allocations: 4.938 kB / 0.9569 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.9277, allocations: 0 / 0.9569 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.521e-05/0.9278, allocations: 96.81 kB / 0.957 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.9278, allocations: 87.58 kB / 0.9571 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.9279, allocations: 1.531 kB / 0.9571 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.174e-05/0.9279, allocations: 5.328 kB / 0.9571 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.9279, allocations: 3.953 kB / 0.9571 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.9279, allocations: 5.469 kB / 0.9571 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.928, allocations: 121.3 kB / 0.9573 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.423e-06/0.928, allocations: 0 / 0.9573 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001854/0.9282, allocations: 18.28 kB / 0.9573 GB, free: 4.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.9283, allocations: 96.69 kB / 0.9574 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.912e-05/0.9284, allocations: 14 kB / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.9284, allocations: 1.125 kB / 0.9574 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.326e-05/0.9284, allocations: 11.91 kB / 0.9574 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001227/0.9286, allocations: 6.25 kB / 0.9574 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003678/0.9289, allocations: 176.5 kB / 0.9576 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001678/0.9291, allocations: 0.7 MB / 0.9582 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.9292, allocations: 4.375 kB / 0.9582 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.533e-05/0.9292, allocations: 11.59 kB / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9292, allocations: 0 / 0.9583 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of Templates: time 0.002724/0.9319, allocations: 420.2 kB / 0.9587 GB, free: 3.176 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","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches