Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.001732/0.001732, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.00215/0.00215, allocations: 215.7 kB / 22.24 MB, free: 5.262 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.777 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.16/3.16, allocations: 0.49 GB / 0.7951 GB, free: 35.45 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_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu",fmuType="me",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.002135/0.002135, allocations: 72.38 kB / 1.154 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3765, allocations: 176.1 MB / 1.326 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002254/0.3788, allocations: 0.7822 MB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.3789, allocations: 43.84 kB / 1.327 GB, free: 0.6328 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.495e-05/0.379, allocations: 7.875 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.41e-05/0.379, allocations: 7.922 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.531e-05/0.3791, allocations: 7.875 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.403e-05/0.3792, allocations: 19.98 kB / 1.327 GB, free: 0.5898 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.3793, allocations: 59.84 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.3795, allocations: 39.91 kB / 1.327 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.731e-05/0.3795, allocations: 19.94 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.935e-05/0.3796, allocations: 31.78 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.3796, allocations: 12 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.368e-06/0.3796, allocations: 4 kB / 1.327 GB, free: 436 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.3797, allocations: 15.94 kB / 1.327 GB, free: 420 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.3797, allocations: 27.84 kB / 1.327 GB, free: 392 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001418/0.3799, allocations: 75.81 kB / 1.327 GB, free: 316 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 8.325e-06/0.3799, allocations: 7.938 kB / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of FrontEnd: time 2.104e-06/0.3799, allocations: 0 / 1.327 GB, free: 308 kB / 1.014 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.3799, allocations: 0 / 1.327 GB, free: 308 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.0005038/0.3804, allocations: 306.1 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.3804, allocations: 12.03 kB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.922e-05/0.3805, allocations: 38.75 kB / 1.327 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3805, allocations: 8.891 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.3808, allocations: 142.3 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3808, allocations: 12.12 kB / 1.327 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.3808, allocations: 4.375 kB / 1.327 GB, free: 15.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.381, allocations: 94.14 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.381, allocations: 7.922 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.828e-06/0.381, allocations: 0 / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.381, allocations: 4 kB / 1.328 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.355e-05/0.3811, allocations: 35.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00063/0.3817, allocations: 395.9 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.782e-05/0.3818, allocations: 37.19 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.3818, allocations: 17.84 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.3818, allocations: 4 kB / 1.328 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.3819, allocations: 30.56 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3819, allocations: 0 / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/0.3821, allocations: 61.52 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.3821, allocations: 81.36 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.3823, allocations: 165.2 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.3823, allocations: 25.7 kB / 1.328 GB, free: 14.66 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/0.3824, allocations: 108 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.006e-06/0.3824, allocations: 7.891 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.3824, allocations: 17.72 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.3826, allocations: 322.8 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.962e-05/0.3826, allocations: 8 kB / 1.329 GB, free: 14.18 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.519e-05/0.3826, allocations: 21.66 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.23e-05/0.3827, allocations: 21.72 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3827, allocations: 11.94 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.787e-05/0.3828, allocations: 61.58 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.3828, allocations: 7.938 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3828, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3828, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.3829, allocations: 4 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3829, allocations: 0 / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3829, allocations: 7.953 kB / 1.329 GB, free: 14.03 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.3829, allocations: 0 / 1.329 GB, free: 14.03 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 9.421e-05/0.383, allocations: 128.1 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.578e-05/0.383, allocations: 11.89 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.3831, allocations: 11.81 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3831, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.3831, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3831, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.3835, allocations: 437.9 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3835, allocations: 3.984 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.3835, allocations: 7.938 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.3835, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.3835, allocations: 4.062 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3835, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3835, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.3836, allocations: 81.84 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.199e-05/0.3837, allocations: 15.94 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.3837, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.056e-05/0.3837, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.3837, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-06/0.3837, allocations: 4 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000101/0.3838, allocations: 121.1 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3838, allocations: 4.031 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001928/0.384, allocations: 12 kB / 1.33 GB, free: 13.11 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.0004534/0.3845, allocations: 0.6093 MB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.169e-05/0.3846, allocations: 23.92 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.3846, allocations: 0 / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.52e-05/0.3846, allocations: 11.94 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.3847, allocations: 4 kB / 1.33 GB, free: 12.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.3861, allocations: 1.342 MB / 1.332 GB, free: 10.99 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.42e-05/0.3862, allocations: 83.12 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.3863, allocations: 8.422 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.05e-05/0.3863, allocations: 23.44 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.3863, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02851/0.4148, allocations: 2.131 MB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.74, allocations: 10.06 kB / 1.334 GB, free: 8.855 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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.481020129984245]