Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 106.5 kB / 16.4 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 192.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.831/2.831, allocations: 469.8 MB / 0.749 GB, free: 3.035 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002002/0.002002, allocations: 67.89 kB / 1.073 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8052, allocations: 159.1 MB / 1.229 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001953/0.8072, allocations: 0.8237 MB / 1.229 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001132/0.8073, allocations: 39.86 kB / 1.23 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.338e-05/0.8074, allocations: 0 / 1.23 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.812e-05/0.8074, allocations: 15.86 kB / 1.23 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.269e-05/0.8075, allocations: 7.875 kB / 1.23 GB, free: 0.9023 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.595e-05/0.8076, allocations: 15.98 kB / 1.23 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.8077, allocations: 67.83 kB / 1.23 GB, free: 0.8203 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.8078, allocations: 51.84 kB / 1.23 GB, free: 0.7695 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.8079, allocations: 31.8 kB / 1.23 GB, free: 0.7383 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.467e-05/0.808, allocations: 23.86 kB / 1.23 GB, free: 0.7148 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.808, allocations: 8 kB / 1.23 GB, free: 0.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.378e-06/0.808, allocations: 4 kB / 1.23 GB, free: 0.7031 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.808, allocations: 19.92 kB / 1.23 GB, free: 0.6836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.748e-05/0.8081, allocations: 23.81 kB / 1.23 GB, free: 0.6602 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.8082, allocations: 81.41 kB / 1.23 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.8082, allocations: 0 / 1.23 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.252e-06/0.8082, allocations: 0 / 1.23 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.82e-06/0.8082, allocations: 4 kB / 1.23 GB, free: 0.5781 MB / 0.9356 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.0004555/0.8087, allocations: 379.1 kB / 1.23 GB, free: 160 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.8087, allocations: 15.91 kB / 1.23 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.12e-05/0.8088, allocations: 42.73 kB / 1.23 GB, free: 92 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.8088, allocations: 12.84 kB / 1.23 GB, free: 80 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.8091, allocations: 196.2 kB / 1.23 GB, free: 15.85 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.8091, allocations: 4.312 kB / 1.23 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/0.8091, allocations: 12.38 kB / 1.23 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.8093, allocations: 93.27 kB / 1.231 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.8093, allocations: 3.938 kB / 1.231 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.8093, allocations: 4 kB / 1.231 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.8093, allocations: 7.984 kB / 1.231 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-05/0.8094, allocations: 39.92 kB / 1.231 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005283/0.8099, allocations: 432.8 kB / 1.231 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.81, allocations: 45.25 kB / 1.231 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.44e-05/0.81, allocations: 13.78 kB / 1.231 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.8101, allocations: 7.984 kB / 1.231 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.8101, allocations: 38.55 kB / 1.231 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.8101, allocations: 0 / 1.231 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001924/0.8103, allocations: 57.53 kB / 1.231 GB, free: 15 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.8104, allocations: 77.11 kB / 1.231 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.8105, allocations: 156.7 kB / 1.231 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.8106, allocations: 29.7 kB / 1.231 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.8106, allocations: 108.1 kB / 1.232 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.524e-06/0.8107, allocations: 3.953 kB / 1.232 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.8107, allocations: 25.92 kB / 1.232 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.8108, allocations: 318.8 kB / 1.232 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.863e-05/0.8109, allocations: 4 kB / 1.232 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.785e-05/0.8109, allocations: 21.66 kB / 1.232 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.8109, allocations: 29.7 kB / 1.232 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.8109, allocations: 0 / 1.232 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.378e-05/0.811, allocations: 61.59 kB / 1.232 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.8111, allocations: 7.938 kB / 1.232 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/0.8111, allocations: 4 kB / 1.232 GB, free: 14.1 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.8111, allocations: 3.938 kB / 1.232 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.256e-05/0.8112, allocations: 7.984 kB / 1.232 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8112, allocations: 0 / 1.232 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.264e-05/0.8112, allocations: 11.94 kB / 1.232 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-06/0.8112, allocations: 0 / 1.232 GB, free: 14.07 MB / 0.9512 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.404e-05/0.8113, allocations: 117.9 kB / 1.232 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.112e-05/0.8113, allocations: 11.89 kB / 1.232 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.8114, allocations: 15.86 kB / 1.232 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8114, allocations: 3.938 kB / 1.232 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.8114, allocations: 0 / 1.232 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.8114, allocations: 0 / 1.232 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.8118, allocations: 470.7 kB / 1.233 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.8118, allocations: 8.062 kB / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.626e-05/0.8118, allocations: 0 / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.8119, allocations: 4 kB / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.8119, allocations: 3.938 kB / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.8119, allocations: 0 / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.8119, allocations: 0 / 1.233 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.116e-05/0.812, allocations: 81.88 kB / 1.233 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.59e-05/0.812, allocations: 89.09 kB / 1.233 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.8121, allocations: 0 / 1.233 GB, free: 13.17 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/0.8121, allocations: 3.984 kB / 1.233 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.049e-05/0.8121, allocations: 4 kB / 1.233 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-06/0.8121, allocations: 0 / 1.233 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.763e-05/0.8122, allocations: 125.1 kB / 1.233 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8122, allocations: 0 / 1.233 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0001858/0.8124, allocations: 8 kB / 1.233 GB, free: 13.03 MB / 0.9512 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.0003975/0.8128, allocations: 0.6176 MB / 1.234 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.191e-05/0.8129, allocations: 19.94 kB / 1.234 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8129, allocations: 0 / 1.234 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.252e-05/0.8129, allocations: 8.219 kB / 1.234 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001461/0.8131, allocations: 8 kB / 1.234 GB, free: 12.35 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001241/0.8143, allocations: 1.323 MB / 1.235 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.8146, allocations: 0.6967 MB / 1.236 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.8147, allocations: 8.438 kB / 1.236 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.394e-05/0.8147, allocations: 31.36 kB / 1.236 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of SimCode: time 2.51e-07/0.8147, allocations: 0 / 1.236 GB, free: 10.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.8374, allocations: 1.57 MB / 1.237 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.995/8.832, allocations: 17.78 kB / 1.237 GB, free: 8.676 MB / 0.9512 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 14.915287687908858]