Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001685/0.001685, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002346/0.002346, allocations: 219.2 kB / 23.03 MB, free: 4.922 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.598/1.598, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_gal,fileNamePrefix="Buildings_12_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.00204/0.00204, allocations: 60.09 kB / 1.155 GB, free: 25.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.38/0.3821, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_gal): time 0.002247/0.3843, allocations: 0.7961 MB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001296/0.3845, allocations: 43.78 kB / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.87e-05/0.3845, allocations: 0 / 1.327 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.284e-05/0.3846, allocations: 7.938 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.018e-05/0.3846, allocations: 11.88 kB / 1.327 GB, free: 0.5781 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.716e-05/0.3847, allocations: 19.97 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3848, allocations: 63.78 kB / 1.328 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.385, allocations: 31.98 kB / 1.328 GB, free: 476 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.3851, allocations: 31.84 kB / 1.328 GB, free: 444 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.698e-05/0.3851, allocations: 27.8 kB / 1.328 GB, free: 416 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.3852, allocations: 8 kB / 1.328 GB, free: 408 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.086e-05/0.3852, allocations: 4 kB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.535e-05/0.3852, allocations: 19.92 kB / 1.328 GB, free: 384 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.3852, allocations: 31.81 kB / 1.328 GB, free: 352 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3854, allocations: 79.78 kB / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3854, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3854, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3854, allocations: 0 / 1.328 GB, free: 272 kB / 1.014 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.0004843/0.3859, allocations: 306 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3859, allocations: 8.031 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.137e-05/0.3859, allocations: 8.172 kB / 1.328 GB, free: 15.92 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.234e-05/0.386, allocations: 42.73 kB / 1.328 GB, free: 15.87 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.58e-05/0.386, allocations: 8.891 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.3863, allocations: 142.3 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.3863, allocations: 4.375 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.3863, allocations: 8.375 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.3865, allocations: 95.7 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.3865, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3865, allocations: 3.938 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3865, allocations: 0 / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.3866, allocations: 39.92 kB / 1.328 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006831/0.3873, allocations: 395.8 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.392e-05/0.3874, allocations: 37.28 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.874e-05/0.3874, allocations: 21.84 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.3874, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3875, allocations: 38.48 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.3875, allocations: 0 / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001978/0.3877, allocations: 49.59 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.244e-05/0.3877, allocations: 81.11 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.3879, allocations: 164.8 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.3879, allocations: 25.7 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.388, allocations: 112.3 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.127e-06/0.388, allocations: 3.953 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.3881, allocations: 13.72 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3882, allocations: 322.8 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.819e-05/0.3883, allocations: 11.94 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.765e-05/0.3883, allocations: 17.7 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.356e-05/0.3883, allocations: 25.72 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3883, allocations: 0 / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.697e-05/0.3884, allocations: 61.62 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3884, allocations: 7.938 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3885, allocations: 0 / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.3885, allocations: 11.92 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.373e-05/0.3885, allocations: 4 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3885, allocations: 0 / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.841e-05/0.3886, allocations: 11.95 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.3886, allocations: 0 / 1.33 GB, free: 13.99 MB / 1.029 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 0.0001164/0.3887, allocations: 114.4 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.3887, allocations: 11.89 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.3888, allocations: 11.8 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3888, allocations: 4.031 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3888, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3888, allocations: 4.031 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.3892, allocations: 449.8 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.3892, allocations: 3.984 kB / 1.33 GB, free: 13.33 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.68e-05/0.3893, allocations: 3.938 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3893, allocations: 4 kB / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3893, allocations: 0 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3893, allocations: 64 / 1.33 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.3894, allocations: 85.88 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.3e-05/0.3894, allocations: 15.91 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3894, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.074e-05/0.3894, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.3895, allocations: 3.984 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3895, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001028/0.3896, allocations: 124.8 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3896, allocations: 0 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001883/0.3898, allocations: 4 kB / 1.331 GB, free: 13.07 MB / 1.029 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.0004169/0.3902, allocations: 0.6172 MB / 1.331 GB, free: 12.42 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.126e-05/0.3903, allocations: 15.94 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3903, allocations: 4 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-05/0.3903, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000158/0.3904, allocations: 5.875 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.3918, allocations: 1.337 MB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.598e-05/0.3919, allocations: 91.11 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.248e-05/0.3919, allocations: 4.438 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.3919, allocations: 27.42 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.3919, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.4137, allocations: 1.757 MB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.97, allocations: 13.11 kB / 1.334 GB, free: 9.199 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_gal.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_gal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_gal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.04879801394418]