Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.001787/0.001787, allocations: 105.5 kB / 19.73 MB, free: 2.223 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.001922/0.001922, allocations: 215.5 kB / 23.04 MB, free: 5.059 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.866/2.866, allocations: 476.7 MB / 0.7715 GB, free: 4.277 MB / 0.6231 GB " [Timeout remaining time 177] 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_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton",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.002079/0.002079, allocations: 66.77 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 170 MB / 1.284 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002365/0.3584, allocations: 0.8391 MB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001259/0.3585, allocations: 43.78 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.848e-05/0.3586, allocations: 0 / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.3586, allocations: 11.86 kB / 1.285 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.446e-05/0.3587, allocations: 3.938 kB / 1.285 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.754e-05/0.3587, allocations: 19.98 kB / 1.285 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.00013/0.3589, allocations: 63.78 kB / 1.285 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.359, allocations: 27.97 kB / 1.285 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.098e-05/0.3591, allocations: 31.81 kB / 1.285 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.734e-05/0.3591, allocations: 35.78 kB / 1.285 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.3592, allocations: 4 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.3592, allocations: 8 kB / 1.285 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.3592, allocations: 8 kB / 1.285 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.3593, allocations: 43.72 kB / 1.285 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3594, allocations: 71.11 kB / 1.285 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.812e-06/0.3594, allocations: 4 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3594, allocations: 4 kB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.3594, allocations: 0 / 1.285 GB, free: 10.48 MB / 0.9825 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.000507/0.3599, allocations: 314.1 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.067e-05/0.36, allocations: 8.031 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.632e-05/0.36, allocations: 4.188 kB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.36, allocations: 34.75 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.996e-05/0.3601, allocations: 8.891 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002238/0.3603, allocations: 142.3 kB / 1.286 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3603, allocations: 12.38 kB / 1.286 GB, free: 9.902 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.3603, allocations: 4.375 kB / 1.286 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3605, allocations: 105.5 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3605, allocations: 0 / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3605, allocations: 8 kB / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3605, allocations: 0 / 1.286 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.3606, allocations: 35.92 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006126/0.3612, allocations: 403.8 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.3613, allocations: 41.33 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.458e-05/0.3614, allocations: 17.78 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3614, allocations: 3.938 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.3614, allocations: 34.5 kB / 1.286 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3614, allocations: 8 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0002282/0.3616, allocations: 53.58 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.3617, allocations: 77.11 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.3619, allocations: 165 kB / 1.287 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3619, allocations: 25.7 kB / 1.287 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.362, allocations: 104 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.153e-05/0.362, allocations: 7.938 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/0.362, allocations: 17.97 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3622, allocations: 322.8 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.363e-05/0.3622, allocations: 11.98 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.707e-05/0.3623, allocations: 13.72 kB / 1.287 GB, free: 8.316 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.736e-05/0.3623, allocations: 25.72 kB / 1.287 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3623, allocations: 3.938 kB / 1.287 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.612e-05/0.3624, allocations: 65.58 kB / 1.287 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.174e-05/0.3624, allocations: 7.938 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3624, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.3625, allocations: 0 / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.939e-05/0.3625, allocations: 8 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.3625, allocations: 0 / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.762e-05/0.3626, allocations: 15.89 kB / 1.287 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.3626, allocations: 0 / 1.287 GB, free: 8.18 MB / 0.9825 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.0001008/0.3627, allocations: 121.9 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.856e-05/0.3627, allocations: 11.89 kB / 1.287 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.3627, allocations: 7.906 kB / 1.287 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3627, allocations: 3.984 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.3628, allocations: 3.938 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3628, allocations: 0 / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004016/0.3632, allocations: 437.9 kB / 1.288 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3632, allocations: 4.062 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.86e-05/0.3632, allocations: 7.938 kB / 1.288 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3632, allocations: 3.984 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.3632, allocations: 0 / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3632, allocations: 4 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3632, allocations: 3.938 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.3633, allocations: 77.89 kB / 1.288 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.983e-05/0.3633, allocations: 19.92 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.3633, allocations: 4 kB / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.911e-05/0.3634, allocations: 0 / 1.288 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.963e-05/0.3634, allocations: 4 kB / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.3634, allocations: 0 / 1.288 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001064/0.3635, allocations: 123.2 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3635, allocations: 0 / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001907/0.3637, allocations: 12 kB / 1.288 GB, free: 7.258 MB / 0.9825 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.0004439/0.3641, allocations: 0.6093 MB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.764e-05/0.3642, allocations: 15.94 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/0.3642, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.499e-05/0.3642, allocations: 12.2 kB / 1.289 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3644, allocations: 13.78 kB / 1.289 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.3658, allocations: 1.329 MB / 1.29 GB, free: 5.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.3661, allocations: 0.6967 MB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.83e-05/0.3662, allocations: 12.42 kB / 1.291 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.075e-05/0.3662, allocations: 23.44 kB / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of SimCode: time 1.283e-06/0.3662, allocations: 0 / 1.291 GB, free: 4.395 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.3877, allocations: 1.721 MB / 1.292 GB, free: 2.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.78, allocations: 4.812 kB / 1.292 GB, free: 2.82 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.655599603021983]