Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_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.006785/0.006785, allocations: 106.9 kB / 15.74 MB, free: 5.949 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.001583/0.001583, allocations: 189.2 kB / 16.67 MB, free: 5.879 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.239/2.239, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 63.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7177/0.7189, allocations: 140.4 MB / 1.087 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.001744/0.7207, allocations: 0.8271 MB / 1.088 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001051/0.7208, allocations: 41.3 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.897e-05/0.7209, allocations: 2.094 kB / 1.088 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.7209, allocations: 9.188 kB / 1.088 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.226e-05/0.721, allocations: 10.11 kB / 1.088 GB, free: 4.539 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.282e-05/0.721, allocations: 23.81 kB / 1.088 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.939e-05/0.7212, allocations: 59.83 kB / 1.088 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.7213, allocations: 40.67 kB / 1.088 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.7213, allocations: 27.02 kB / 1.088 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.556e-05/0.7214, allocations: 37.94 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.7214, allocations: 6.156 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.065e-05/0.7214, allocations: 6.438 kB / 1.089 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.018e-05/0.7215, allocations: 16.55 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.7215, allocations: 32.42 kB / 1.089 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001072/0.7216, allocations: 75.09 kB / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.165e-06/0.7216, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7216, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.987e-06/0.7216, allocations: 0 / 1.089 GB, free: 4.371 MB / 0.8575 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.0003346/0.722, allocations: 380.8 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.722, allocations: 10.19 kB / 1.089 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.908e-05/0.7221, allocations: 47.2 kB / 1.089 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.586e-05/0.7221, allocations: 13.5 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.7222, allocations: 188.6 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.7223, allocations: 2.719 kB / 1.089 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/0.7223, allocations: 10.31 kB / 1.089 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.7224, allocations: 94.34 kB / 1.089 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.7224, allocations: 7.938 kB / 1.089 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.7224, allocations: 0.7188 kB / 1.089 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.7225, allocations: 2.797 kB / 1.089 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.818e-05/0.7225, allocations: 36.33 kB / 1.089 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004294/0.723, allocations: 438 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.147e-05/0.723, allocations: 49.61 kB / 1.09 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.04e-05/0.7231, allocations: 16.61 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7231, allocations: 4.688 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.7231, allocations: 36.62 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.7231, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.7233, allocations: 61.53 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.7233, allocations: 78.23 kB / 1.09 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.7234, allocations: 161 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.7234, allocations: 25.7 kB / 1.09 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.7235, allocations: 104.2 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.293e-06/0.7235, allocations: 5.609 kB / 1.09 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.7235, allocations: 18.42 kB / 1.09 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.04e-05/0.7236, allocations: 319.7 kB / 1.091 GB, free: 2.359 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.562e-05/0.7236, allocations: 8.188 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.813e-05/0.7236, allocations: 20.47 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.7236, allocations: 30.36 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.7236, allocations: 1.219 kB / 1.091 GB, free: 2.309 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.149e-05/0.7237, allocations: 57.72 kB / 1.091 GB, free: 2.266 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.7237, allocations: 9 kB / 1.091 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.7237, allocations: 5.062 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.7238, allocations: 1.125 kB / 1.091 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.7238, allocations: 10.73 kB / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.7238, allocations: 0 / 1.091 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.865e-05/0.7239, allocations: 6.062 kB / 1.091 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.7239, allocations: 3.109 kB / 1.091 GB, free: 2.25 MB / 0.8575 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.69e-05/0.7239, allocations: 112.9 kB / 1.091 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.724, allocations: 12.69 kB / 1.091 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.724, allocations: 16.86 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.724, allocations: 1.031 kB / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.724, allocations: 0 / 1.091 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.724, allocations: 9.875 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.7243, allocations: 467 kB / 1.091 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7243, allocations: 0 / 1.091 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.7243, allocations: 3.859 kB / 1.091 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.7243, allocations: 0.75 kB / 1.091 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.7244, allocations: 13.41 kB / 1.091 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.7244, allocations: 1.562 kB / 1.091 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7244, allocations: 0 / 1.091 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.088e-05/0.7244, allocations: 80.89 kB / 1.092 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.7245, allocations: 90.22 kB / 1.092 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.301e-05/0.7246, allocations: 1.891 kB / 1.092 GB, free: 17.42 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.15e-05/0.7246, allocations: 8.688 kB / 1.092 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.036e-05/0.7246, allocations: 1.859 kB / 1.092 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.7246, allocations: 1.531 kB / 1.092 GB, free: 17.41 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 8.657e-05/0.7247, allocations: 118 kB / 1.092 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7247, allocations: 1.312 kB / 1.092 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001902/0.7249, allocations: 6.094 kB / 1.092 GB, free: 17.33 MB / 0.8731 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.0003151/0.7252, allocations: 0.6203 MB / 1.092 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.12e-05/0.7253, allocations: 15.98 kB / 1.092 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.7253, allocations: 0 / 1.092 GB, free: 16.71 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.7253, allocations: 8.797 kB / 1.092 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.7255, allocations: 13.09 kB / 1.092 GB, free: 16.7 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.7265, allocations: 1.331 MB / 1.094 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.7268, allocations: 0.6927 MB / 1.094 GB, free: 14.78 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.486e-05/0.7268, allocations: 11.17 kB / 1.094 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.126e-05/0.7269, allocations: 29.42 kB / 1.094 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.7269, allocations: 0 / 1.094 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.7436, allocations: 1.573 MB / 1.096 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.055/7.798, allocations: 4.906 kB / 1.096 GB, free: 14.36 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches