Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.001677/0.001677, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001963/0.001963, allocations: 217.6 kB / 23.04 MB, free: 5.074 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.536/1.536, allocations: 230.6 MB / 256.8 MB, free: 8 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.285/3.285, allocations: 0.49 GB / 0.7959 GB, free: 33.38 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_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",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.002086/0.002086, allocations: 72.64 kB / 1.155 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3811, allocations: 176.1 MB / 1.327 GB, free: 1.961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.00216/0.3833, allocations: 0.8425 MB / 1.327 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001193/0.3834, allocations: 35.8 kB / 1.328 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.968e-05/0.3834, allocations: 0 / 1.328 GB, free: 1.09 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.3835, allocations: 11.88 kB / 1.328 GB, free: 1.078 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.838e-05/0.3836, allocations: 15.84 kB / 1.328 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.019e-05/0.3836, allocations: 23.98 kB / 1.328 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.3837, allocations: 55.84 kB / 1.328 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.3839, allocations: 35.98 kB / 1.328 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.131e-05/0.3839, allocations: 31.8 kB / 1.328 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.451e-05/0.384, allocations: 31.78 kB / 1.328 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.384, allocations: 8 kB / 1.328 GB, free: 0.8789 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.384, allocations: 4 kB / 1.328 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.794e-05/0.384, allocations: 8 kB / 1.328 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.286e-05/0.3841, allocations: 39.73 kB / 1.328 GB, free: 0.8281 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.3842, allocations: 75.86 kB / 1.328 GB, free: 0.7539 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3842, allocations: 4 kB / 1.328 GB, free: 0.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3842, allocations: 0 / 1.328 GB, free: 0.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3842, allocations: 0 / 1.328 GB, free: 0.75 MB / 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.0004667/0.3847, allocations: 309.9 kB / 1.328 GB, free: 424 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3847, allocations: 12.03 kB / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.31e-05/0.3847, allocations: 192 / 1.328 GB, free: 412 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.3848, allocations: 38.75 kB / 1.328 GB, free: 364 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.3848, allocations: 8.891 kB / 1.328 GB, free: 356 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.385, allocations: 134.4 kB / 1.328 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.385, allocations: 4.375 kB / 1.328 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.385, allocations: 12.38 kB / 1.328 GB, free: 180 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3852, allocations: 101.4 kB / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3852, allocations: 0 / 1.328 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.3852, allocations: 8 kB / 1.328 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3852, allocations: 7.938 kB / 1.328 GB, free: 52 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.218e-05/0.3853, allocations: 39.92 kB / 1.328 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005511/0.3858, allocations: 399.8 kB / 1.329 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.912e-05/0.3859, allocations: 41.17 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.985e-05/0.3859, allocations: 21.84 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.3859, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.386, allocations: 38.5 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.386, allocations: 3.938 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.3861, allocations: 57.59 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3862, allocations: 81.09 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.3863, allocations: 156.9 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.3863, allocations: 25.7 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.3864, allocations: 112.3 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.484e-06/0.3864, allocations: 3.953 kB / 1.329 GB, free: 14.97 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.3865, allocations: 21.7 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3866, allocations: 318.8 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.621e-05/0.3866, allocations: 3.984 kB / 1.33 GB, free: 14.62 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.411e-05/0.3866, allocations: 21.72 kB / 1.33 GB, free: 14.59 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.3867, allocations: 29.66 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3867, allocations: 0 / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.576e-05/0.3868, allocations: 61.58 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3868, allocations: 11.94 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.3868, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3868, allocations: 0 / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.3868, allocations: 4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3868, allocations: 4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.82e-05/0.3869, allocations: 3.953 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.3869, allocations: 8.062 kB / 1.33 GB, free: 14.46 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 7.995e-05/0.387, allocations: 110.4 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.387, allocations: 11.89 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.613e-05/0.387, allocations: 15.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.387, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.387, allocations: 4 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.387, allocations: 0 / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000383/0.3874, allocations: 445.8 kB / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3874, allocations: 0 / 1.33 GB, free: 13.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.959e-05/0.3874, allocations: 4 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.3874, allocations: 96 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.3875, allocations: 3.984 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3875, allocations: 0 / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.3875, allocations: 11.92 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.2e-05/0.3876, allocations: 85.89 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.766e-05/0.3876, allocations: 19.83 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.183e-05/0.3876, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.19e-05/0.3876, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.699e-06/0.3876, allocations: 0 / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3876, allocations: 4 kB / 1.331 GB, free: 13.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.386e-05/0.3877, allocations: 121.1 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3877, allocations: 4 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000183/0.3879, allocations: 8.031 kB / 1.331 GB, free: 13.53 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.0004005/0.3883, allocations: 0.6132 MB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.559e-05/0.3884, allocations: 20.09 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3884, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.32e-05/0.3884, allocations: 7.938 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3885, allocations: 9.375 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.3898, allocations: 1.334 MB / 1.333 GB, free: 11.41 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002912/0.3901, allocations: 0.7002 MB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.719e-05/0.3901, allocations: 4.438 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.3902, allocations: 23.42 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.3902, allocations: 0 / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.4108, allocations: 1.734 MB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.27/11.68, allocations: 5.781 kB / 1.335 GB, free: 9.074 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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: 18.833040066005196]