Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 116.8 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001477/0.001477, allocations: 209.5 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 79.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002352/1.283, allocations: 0.8339 MB / 1.28 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001272/1.284, allocations: 40.23 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/1.284, allocations: 2.188 kB / 1.28 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.617e-05/1.284, allocations: 9.984 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.606e-05/1.284, allocations: 9.422 kB / 1.28 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.403e-05/1.284, allocations: 20.56 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001552/1.284, allocations: 62.92 kB / 1.28 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/1.284, allocations: 40.05 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/1.284, allocations: 26.28 kB / 1.28 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.721e-05/1.284, allocations: 31.05 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.471e-05/1.284, allocations: 5.469 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/1.284, allocations: 7.156 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/1.284, allocations: 11.97 kB / 1.28 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.574e-05/1.284, allocations: 36.27 kB / 1.28 GB, free: 11.02 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/1.285, allocations: 77.14 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.285, allocations: 0 / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.495e-06/1.285, allocations: 1.156 kB / 1.28 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.285, allocations: 4 kB / 1.28 GB, free: 10.98 MB / 0.9981 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.0005713/1.285, allocations: 386.3 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.285, allocations: 10.14 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.554e-05/1.285, allocations: 2.031 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/1.285, allocations: 39.94 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/1.285, allocations: 9.328 kB / 1.281 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/1.286, allocations: 193.2 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/1.286, allocations: 10.81 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/1.286, allocations: 5.75 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/1.286, allocations: 102.3 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.286, allocations: 3.938 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/1.286, allocations: 5.578 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.286, allocations: 2.188 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/1.286, allocations: 35.95 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/1.287, allocations: 441.9 kB / 1.281 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/1.287, allocations: 41.69 kB / 1.281 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.321e-05/1.287, allocations: 19.8 kB / 1.281 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/1.287, allocations: 5.844 kB / 1.281 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/1.287, allocations: 39.62 kB / 1.281 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/1.287, allocations: 0 / 1.281 GB, free: 9.688 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001966/1.287, allocations: 52.95 kB / 1.281 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/1.287, allocations: 78.78 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/1.287, allocations: 160.3 kB / 1.282 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/1.287, allocations: 25.7 kB / 1.282 GB, free: 9.402 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.044e-05/1.287, allocations: 112 kB / 1.282 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/1.287, allocations: 6.141 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/1.287, allocations: 13.61 kB / 1.282 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002377/1.288, allocations: 324.1 kB / 1.282 GB, free: 8.957 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/1.288, allocations: 7.938 kB / 1.282 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/1.288, allocations: 20.31 kB / 1.282 GB, free: 8.934 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/1.288, allocations: 34.98 kB / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.288, allocations: 0 / 1.282 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.824e-05/1.288, allocations: 58.09 kB / 1.282 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/1.288, allocations: 9.281 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/1.288, allocations: 1.922 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/1.288, allocations: 1.094 kB / 1.282 GB, free: 8.855 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/1.288, allocations: 10.25 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/1.288, allocations: 0 / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/1.288, allocations: 10.78 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/1.288, allocations: 5.156 kB / 1.282 GB, free: 8.84 MB / 0.9981 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 9.54e-05/1.288, allocations: 115.1 kB / 1.282 GB, free: 8.723 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/1.288, allocations: 11.27 kB / 1.282 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.902e-05/1.288, allocations: 8.953 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.288, allocations: 1.094 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.288, allocations: 1.781 kB / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/1.288, allocations: 0 / 1.282 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/1.289, allocations: 475.1 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/1.289, allocations: 0 / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.941e-05/1.289, allocations: 4.375 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/1.289, allocations: 0.9375 kB / 1.283 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/1.289, allocations: 5.438 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/1.289, allocations: 0 / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/1.289, allocations: 0.7188 kB / 1.283 GB, free: 8.215 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/1.289, allocations: 90.08 kB / 1.283 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.54e-05/1.289, allocations: 89.55 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.644e-05/1.289, allocations: 2.016 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.085e-05/1.289, allocations: 1.344 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.478e-05/1.289, allocations: 1.891 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/1.289, allocations: 0.8906 kB / 1.283 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001075/1.289, allocations: 120.7 kB / 1.283 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.289, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001895/1.289, allocations: 14.69 kB / 1.283 GB, free: 7.926 MB / 0.9981 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.0005001/1.29, allocations: 0.6123 MB / 1.284 GB, free: 7.316 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/1.29, allocations: 19.95 kB / 1.284 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.29, allocations: 4.625 kB / 1.284 GB, free: 7.305 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.83e-05/1.29, allocations: 11.91 kB / 1.284 GB, free: 7.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/1.29, allocations: 8.047 kB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/1.292, allocations: 1.319 MB / 1.285 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/1.292, allocations: 0.6963 MB / 1.286 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.423e-05/1.292, allocations: 8.266 kB / 1.286 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/1.292, allocations: 24.97 kB / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of SimCode: time 4.21e-07/1.292, allocations: 0 / 1.286 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/1.313, allocations: 1.626 MB / 1.287 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.331/9.644, allocations: 19.08 kB / 1.287 GB, free: 4.941 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.26940102298977]