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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.0015/0.0015, allocations: 173.1 kB / 16.27 MB, free: 6.656 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.199/2.199, allocations: 390.9 MB / 0.6664 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003192, allocations: 8.281 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5807/0.581, allocations: 142.4 MB / 0.9552 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_gal): time 0.0007807/0.5818, allocations: 0.5367 MB / 0.9557 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 8.476e-05/0.5819, allocations: 45.41 kB / 0.9557 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.115e-05/0.582, allocations: 1.188 kB / 0.9557 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.665e-05/0.582, allocations: 13.55 kB / 0.9558 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.007e-05/0.5821, allocations: 0 / 0.9558 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 3.719e-05/0.5821, allocations: 15.02 kB / 0.9558 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.71e-05/0.5822, allocations: 55.7 kB / 0.9558 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.5823, allocations: 42.27 kB / 0.9559 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.185e-05/0.5824, allocations: 17.28 kB / 0.9559 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.76e-05/0.5824, allocations: 29.19 kB / 0.9559 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.5824, allocations: 0.9062 kB / 0.9559 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.612e-06/0.5824, allocations: 1.531 kB / 0.9559 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.5825, allocations: 7.094 kB / 0.9559 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.213e-05/0.5825, allocations: 54.45 kB / 0.956 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.305e-05/0.5826, allocations: 67.19 kB / 0.956 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.5826, allocations: 0 / 0.956 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.02e-07/0.5826, allocations: 3.938 kB / 0.956 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.126e-06/0.5826, allocations: 0 / 0.956 GB, free: 6.938 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.0002725/0.5829, allocations: 365.9 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.5829, allocations: 9.906 kB / 0.9564 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.631e-05/0.5829, allocations: 40.2 kB / 0.9564 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.282e-05/0.583, allocations: 13.91 kB / 0.9564 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5831, allocations: 194.1 kB / 0.9566 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.5831, allocations: 8.156 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.5831, allocations: 5.156 kB / 0.9566 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.5833, allocations: 97.56 kB / 0.9567 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.5833, allocations: 3.938 kB / 0.9567 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5833, allocations: 5.188 kB / 0.9567 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5833, allocations: 2.594 kB / 0.9567 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.5834, allocations: 38.23 kB / 0.9568 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.5837, allocations: 434.2 kB / 0.9572 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.5838, allocations: 41.12 kB / 0.9572 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.5838, allocations: 24.78 kB / 0.9573 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.5838, allocations: 3.984 kB / 0.9573 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.387e-05/0.5839, allocations: 31.66 kB / 0.9573 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.5839, allocations: 3.984 kB / 0.9573 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001345/0.584, allocations: 55.39 kB / 0.9574 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.584, allocations: 82.33 kB / 0.9574 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001018/0.5841, allocations: 164 kB / 0.9576 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.5842, allocations: 25.7 kB / 0.9576 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.5842, allocations: 108.8 kB / 0.9577 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.5842, allocations: 5.5 kB / 0.9577 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.844e-05/0.5842, allocations: 13.72 kB / 0.9577 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.256e-05/0.5843, allocations: 321.5 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.5843, allocations: 2.438 kB / 0.958 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.5843, allocations: 27.02 kB / 0.9581 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.5844, allocations: 26.91 kB / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5844, allocations: 0 / 0.9581 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.904e-05/0.5844, allocations: 59.48 kB / 0.9582 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.5845, allocations: 9.531 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.5845, allocations: 1.094 kB / 0.9582 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.5845, allocations: 5.016 kB / 0.9582 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.284e-05/0.5845, allocations: 9.906 kB / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.5846, allocations: 0 / 0.9582 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.905e-05/0.5846, allocations: 11.03 kB / 0.9582 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.5846, allocations: 1.031 kB / 0.9582 GB, free: 4.727 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 4.73e-05/0.5846, allocations: 112.8 kB / 0.9583 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.5847, allocations: 12.16 kB / 0.9583 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.078e-05/0.5847, allocations: 14.64 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.5847, allocations: 1.188 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5847, allocations: 1.375 kB / 0.9583 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.5847, allocations: 4 kB / 0.9583 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002422/0.585, allocations: 470.5 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.585, allocations: 0 / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.585, allocations: 3.5 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.585, allocations: 1.094 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.14e-06/0.585, allocations: 1 kB / 0.9588 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.585, allocations: 3.938 kB / 0.9588 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.585, allocations: 5.094 kB / 0.9588 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.644e-05/0.5851, allocations: 86.67 kB / 0.9589 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.688e-05/0.5851, allocations: 88.45 kB / 0.959 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.5852, allocations: 4.922 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.905e-05/0.5852, allocations: 0 / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.137e-06/0.5852, allocations: 1.094 kB / 0.959 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.5852, allocations: 5.188 kB / 0.959 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.007e-05/0.5853, allocations: 129.5 kB / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5853, allocations: 0 / 0.9591 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001844/0.5855, allocations: 7.688 kB / 0.9591 GB, free: 3.773 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.0002003/0.5857, allocations: 0.6193 MB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.18e-05/0.5857, allocations: 10.44 kB / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5857, allocations: 0 / 0.9597 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.5858, allocations: 11.91 kB / 0.9597 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.5859, allocations: 7.156 kB / 0.9597 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007919/0.5867, allocations: 1.347 MB / 0.961 GB, free: 1.852 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.741e-05/0.5868, allocations: 0.6913 MB / 0.9617 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.102e-05/0.5868, allocations: 13.08 kB / 0.9617 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.494e-05/0.5869, allocations: 19.03 kB / 0.9618 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.5869, allocations: 0 / 0.9618 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009915/0.5968, allocations: 1.357 MB / 0.9631 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001437/0.597, allocations: 211.3 kB / 0.9633 GB, free: 256 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.167, allocations: 0 / 0.9633 GB, free: 256 kB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_gal_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_gal.fmu > 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