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.001325/0.001325, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001463/0.001463, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.547/1.547, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.991/2.991, allocations: 476.7 MB / 0.7678 GB, free: 9.344 MB / 0.6075 GB " [Timeout remaining time 176] 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.002123/0.002123, allocations: 67.89 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9302/0.9324, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.002094/0.9345, allocations: 0.8258 MB / 1.28 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001184/0.9346, allocations: 45.55 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.739e-05/0.9346, allocations: 1.062 kB / 1.28 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.9347, allocations: 10.17 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.425e-05/0.9347, allocations: 10 kB / 1.28 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.645e-05/0.9348, allocations: 24.23 kB / 1.28 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001162/0.9349, allocations: 58.66 kB / 1.28 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.935, allocations: 30.81 kB / 1.28 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.9351, allocations: 30.77 kB / 1.28 GB, free: 11.06 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.315e-05/0.9352, allocations: 26.75 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/0.9352, allocations: 5.406 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.628e-06/0.9352, allocations: 6.656 kB / 1.28 GB, free: 11.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.9352, allocations: 16.52 kB / 1.28 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.862e-05/0.9353, allocations: 41.62 kB / 1.28 GB, free: 11 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.9354, allocations: 71.45 kB / 1.28 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.9354, allocations: 4.75 kB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9354, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.9354, allocations: 0 / 1.28 GB, free: 10.96 MB / 0.9981 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.0004597/0.9359, allocations: 387.3 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.9359, allocations: 9.531 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.311e-05/0.9359, allocations: 3.375 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.066e-05/0.936, allocations: 39.95 kB / 1.281 GB, free: 10.53 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.708e-05/0.936, allocations: 9.047 kB / 1.281 GB, free: 10.52 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.9362, allocations: 199.8 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.9362, allocations: 12.52 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.9362, allocations: 8.688 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001853/0.9364, allocations: 100.8 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.9364, allocations: 0 / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.9364, allocations: 1.125 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.9364, allocations: 2.156 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.046e-05/0.9365, allocations: 40.48 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.9371, allocations: 433.8 kB / 1.281 GB, free: 9.801 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.615e-05/0.9371, allocations: 46.19 kB / 1.281 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.637e-05/0.9372, allocations: 19.61 kB / 1.281 GB, free: 9.723 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.9372, allocations: 5.062 kB / 1.281 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.9372, allocations: 36.2 kB / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.9372, allocations: 0 / 1.281 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001716/0.9374, allocations: 53.14 kB / 1.281 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.9374, allocations: 78.77 kB / 1.282 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.9376, allocations: 159.9 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9376, allocations: 27.05 kB / 1.282 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.9377, allocations: 107.4 kB / 1.282 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.059e-05/0.9377, allocations: 9.25 kB / 1.282 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-05/0.9377, allocations: 19.03 kB / 1.282 GB, free: 9.262 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.9379, allocations: 319.8 kB / 1.282 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.9379, allocations: 8.781 kB / 1.282 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.547e-05/0.9379, allocations: 18.84 kB / 1.282 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.495e-05/0.938, allocations: 31.3 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.938, allocations: 0.8438 kB / 1.282 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.27e-05/0.9381, allocations: 57.67 kB / 1.282 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.9381, allocations: 9.172 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.9381, allocations: 0.6875 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.9381, allocations: 0.75 kB / 1.282 GB, free: 8.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.248e-05/0.9382, allocations: 11.12 kB / 1.282 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.9382, allocations: 4.547 kB / 1.282 GB, free: 8.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.283e-05/0.9382, allocations: 14.2 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.9382, allocations: 1.969 kB / 1.282 GB, free: 8.828 MB / 0.9981 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 8.226e-05/0.9383, allocations: 114.2 kB / 1.282 GB, free: 8.711 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.67e-05/0.9383, allocations: 11.98 kB / 1.282 GB, free: 8.703 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.9384, allocations: 13.09 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.9384, allocations: 1.094 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.9384, allocations: 0 / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.9384, allocations: 1.219 kB / 1.282 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.9388, allocations: 474.8 kB / 1.283 GB, free: 8.203 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.9388, allocations: 5.953 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.845e-05/0.9388, allocations: 2.188 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.9388, allocations: 1.062 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-06/0.9388, allocations: 1.875 kB / 1.283 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.9388, allocations: 5 kB / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9388, allocations: 0 / 1.283 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.974e-05/0.9389, allocations: 85.06 kB / 1.283 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.939, allocations: 94.34 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.939, allocations: 2.219 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.194e-05/0.939, allocations: 0.7812 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.939, allocations: 1.828 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.939, allocations: 1.125 kB / 1.283 GB, free: 8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001068/0.9391, allocations: 118.2 kB / 1.283 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9391, allocations: 4.5 kB / 1.283 GB, free: 7.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001952/0.9393, allocations: 6.875 kB / 1.283 GB, free: 7.91 MB / 0.9981 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.0004284/0.9398, allocations: 0.6204 MB / 1.284 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.642e-05/0.9399, allocations: 23.27 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9399, allocations: 0.5312 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-05/0.9399, allocations: 4.5 kB / 1.284 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.94, allocations: 7.281 kB / 1.284 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9414, allocations: 1.331 MB / 1.285 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.9417, allocations: 0.6928 MB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.982e-05/0.9418, allocations: 6.969 kB / 1.286 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.801e-05/0.9418, allocations: 25.31 kB / 1.286 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.9418, allocations: 1.281 kB / 1.286 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01776/0.9596, allocations: 1.63 MB / 1.287 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.349/9.309, allocations: 22.19 kB / 1.287 GB, free: 4.914 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.894489809987135]