Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.001318/0.001318, allocations: 103 kB / 16.45 MB, free: 6.5 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.001436/0.001436, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.501/1.501, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.286/3.286, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",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.002102/0.002102, allocations: 74.06 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3746, allocations: 176.1 MB / 1.321 GB, free: 3.328 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.003474/0.3781, allocations: 0.8903 MB / 1.322 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0002449/0.3783, allocations: 51.78 kB / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3785, allocations: 0 / 1.322 GB, free: 2.391 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.3786, allocations: 11.81 kB / 1.322 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.3787, allocations: 19.84 kB / 1.322 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.3788, allocations: 19.98 kB / 1.322 GB, free: 2.34 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.379, allocations: 87.7 kB / 1.322 GB, free: 2.254 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002127/0.3792, allocations: 37.09 kB / 1.322 GB, free: 2.215 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3794, allocations: 27.88 kB / 1.322 GB, free: 2.188 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.3794, allocations: 35.78 kB / 1.322 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.855e-05/0.3795, allocations: 12 kB / 1.322 GB, free: 2.141 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.682e-05/0.3795, allocations: 8 kB / 1.322 GB, free: 2.133 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.947e-05/0.3795, allocations: 19.92 kB / 1.322 GB, free: 2.113 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.631e-05/0.3796, allocations: 51.66 kB / 1.322 GB, free: 2.062 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.3798, allocations: 95.78 kB / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.3798, allocations: 0 / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.156e-06/0.3798, allocations: 0 / 1.322 GB, free: 1.969 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.3799, allocations: 0 / 1.322 GB, free: 1.969 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007356/0.3806, allocations: 404.8 kB / 1.323 GB, free: 1.523 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.416e-05/0.3807, allocations: 11.98 kB / 1.323 GB, free: 1.512 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.7e-05/0.3807, allocations: 50.67 kB / 1.323 GB, free: 1.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.3808, allocations: 12.89 kB / 1.323 GB, free: 1.441 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003165/0.3811, allocations: 208.3 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.559e-05/0.3811, allocations: 4.562 kB / 1.323 GB, free: 1.195 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3811, allocations: 8.375 kB / 1.323 GB, free: 1.188 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.3814, allocations: 107.3 kB / 1.323 GB, free: 1.07 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3814, allocations: 3.984 kB / 1.323 GB, free: 1.066 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3814, allocations: 4 kB / 1.323 GB, free: 1.062 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.3814, allocations: 8 kB / 1.323 GB, free: 1.055 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.3815, allocations: 43.92 kB / 1.323 GB, free: 1.012 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.3823, allocations: 460.5 kB / 1.323 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.075e-05/0.3824, allocations: 41.14 kB / 1.323 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.918e-05/0.3824, allocations: 21.78 kB / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.3825, allocations: 0 / 1.323 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.3825, allocations: 34.56 kB / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3825, allocations: 0 / 1.324 GB, free: 388 kB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/0.3827, allocations: 57.8 kB / 1.324 GB, free: 324 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.3828, allocations: 81.36 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.383, allocations: 183.1 kB / 1.324 GB, free: 28 kB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.693e-05/0.3831, allocations: 25.7 kB / 1.324 GB, free: 16 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3832, allocations: 123.9 kB / 1.324 GB, free: 15.87 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.537e-05/0.3832, allocations: 15.86 kB / 1.324 GB, free: 15.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.29e-05/0.3833, allocations: 13.72 kB / 1.324 GB, free: 15.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002234/0.3835, allocations: 326.8 kB / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.3835, allocations: 0 / 1.324 GB, free: 15.51 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.861e-05/0.3835, allocations: 29.72 kB / 1.324 GB, free: 15.47 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.3836, allocations: 21.72 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3836, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.3837, allocations: 65.58 kB / 1.324 GB, free: 15.38 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.3838, allocations: 4 kB / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3838, allocations: 0 / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3838, allocations: 0 / 1.324 GB, free: 15.37 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.3839, allocations: 12.06 kB / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3839, allocations: 0 / 1.324 GB, free: 15.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.449e-05/0.3839, allocations: 11.83 kB / 1.324 GB, free: 15.35 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-06/0.3839, allocations: 7.984 kB / 1.324 GB, free: 15.34 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.0001462/0.3841, allocations: 114.9 kB / 1.325 GB, free: 15.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.3841, allocations: 15.84 kB / 1.325 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.415e-05/0.3842, allocations: 12.56 kB / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.3842, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3842, allocations: 0 / 1.325 GB, free: 15.19 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.3842, allocations: 11.94 kB / 1.325 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.3848, allocations: 470.8 kB / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3848, allocations: 0 / 1.325 GB, free: 14.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.3848, allocations: 4 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.3848, allocations: 3.938 kB / 1.325 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.3849, allocations: 7.984 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3849, allocations: 0 / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3849, allocations: 4.062 kB / 1.325 GB, free: 14.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.385, allocations: 77.91 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.242e-05/0.3851, allocations: 89.05 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3851, allocations: 7.938 kB / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.418e-05/0.3851, allocations: 0 / 1.325 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.3851, allocations: 3.938 kB / 1.325 GB, free: 14.42 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.3851, allocations: 7.969 kB / 1.325 GB, free: 14.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001457/0.3853, allocations: 143.2 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3853, allocations: 0 / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002174/0.3855, allocations: 8 kB / 1.325 GB, free: 14.27 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.0006625/0.3862, allocations: 0.621 MB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001202/0.3863, allocations: 19.94 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3863, allocations: 0 / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.154e-05/0.3863, allocations: 7.938 kB / 1.326 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002119/0.3865, allocations: 8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.3884, allocations: 1.407 MB / 1.327 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004392/0.3888, allocations: 0.6963 MB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.676e-05/0.3888, allocations: 12.55 kB / 1.328 GB, free: 11.34 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.3889, allocations: 31.42 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.3889, allocations: 4 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.4136, allocations: 1.749 MB / 1.33 GB, free: 9.652 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.139/8.553, allocations: 8.766 kB / 1.33 GB, free: 9.645 MB / 1.029 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 15.296122637111694]