Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.001186/0.001186, allocations: 112.2 kB / 17.54 MB, free: 4.641 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.001141/0.001141, allocations: 190.6 kB / 20.71 MB, free: 1.484 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.047 MB / 190.1 MB " [Timeout remaining time 179] 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.483/2.483, allocations: 476.7 MB / 0.7628 GB, free: 15.31 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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 67.89 kB / 1.107 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7855/0.7873, allocations: 168.7 MB / 1.271 GB, free: 7.738 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.13/0.9173, allocations: 134.5 MB / 1.403 GB, free: 6.176 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.03225/0.9495, allocations: 23.33 MB / 1.426 GB, free: 3.121 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004295/0.9538, allocations: 124.5 kB / 1.426 GB, free: 3.074 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.004381/0.9582, allocations: 1.55 MB / 1.427 GB, free: 1.762 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.9706, allocations: 4.326 MB / 1.431 GB, free: 14.32 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.00555/0.9761, allocations: 2.209 MB / 1.434 GB, free: 12.59 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009601/0.9857, allocations: 6.551 MB / 1.44 GB, free: 8.242 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003704/0.9894, allocations: 1.836 MB / 1.442 GB, free: 6.344 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006749/0.9962, allocations: 2.818 MB / 1.444 GB, free: 3.523 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00371/0.9999, allocations: 1.98 MB / 1.446 GB, free: 1.535 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007884/1.001, allocations: 248 kB / 1.447 GB, free: 1.293 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/1.006, allocations: 1.985 MB / 1.449 GB, free: 15.3 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0009684/1.007, allocations: 0.6146 MB / 1.449 GB, free: 14.69 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.002888/1.01, allocations: 1.462 MB / 1.451 GB, free: 13.22 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.007409/1.017, allocations: 4.379 MB / 1.455 GB, free: 8.824 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.017, allocations: 0 / 1.455 GB, free: 8.824 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.623e-06/1.017, allocations: 0 / 1.455 GB, free: 8.824 MB / 1.139 GB Notification: Performance of Transformations before backend: time 7.073e-05/1.017, allocations: 0 / 1.455 GB, free: 8.824 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005903/1.023, allocations: 3.278 MB / 1.458 GB, free: 5.457 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.023, allocations: 12.03 kB / 1.458 GB, free: 5.445 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002786/1.024, allocations: 216 kB / 1.458 GB, free: 5.223 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004385/1.028, allocations: 0.865 MB / 1.459 GB, free: 4.355 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00439/1.032, allocations: 2.341 MB / 1.461 GB, free: 1.941 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/1.032, allocations: 127 kB / 1.462 GB, free: 1.816 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/1.033, allocations: 160 kB / 1.462 GB, free: 1.66 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004082/1.037, allocations: 1.915 MB / 1.464 GB, free: 15.68 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.962e-05/1.037, allocations: 7.938 kB / 1.464 GB, free: 15.67 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/1.037, allocations: 60 kB / 1.464 GB, free: 15.61 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/1.037, allocations: 40 kB / 1.464 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004668/1.042, allocations: 1.807 MB / 1.465 GB, free: 13.77 MB / 1.154 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/1.055, allocations: 9.007 MB / 1.474 GB, free: 4.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004262/1.059, allocations: 1.151 MB / 1.475 GB, free: 2.992 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/1.06, allocations: 425.4 kB / 1.476 GB, free: 2.57 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.061, allocations: 1.723 MB / 1.477 GB, free: 472 kB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/1.061, allocations: 42.5 kB / 1.477 GB, free: 420 kB / 1.154 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/1.061, allocations: 0 / 1.477 GB, free: 420 kB / 1.154 GB Notification: Performance of matching and sorting (n=76): time 0.008793/1.07, allocations: 2.359 MB / 1.48 GB, free: 14 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/1.07, allocations: 85.11 kB / 1.48 GB, free: 13.9 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/1.074, allocations: 2.52 MB / 1.482 GB, free: 11.36 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001373/1.075, allocations: 53.64 kB / 1.482 GB, free: 11.3 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009576/1.076, allocations: 1.054 MB / 1.483 GB, free: 10.24 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002921/1.076, allocations: 285.6 kB / 1.484 GB, free: 9.957 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004192/1.076, allocations: 254.7 kB / 1.484 GB, free: 9.699 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.076, allocations: 341.9 kB / 1.484 GB, free: 9.359 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.078, allocations: 0.5725 MB / 1.485 GB, free: 8.789 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/1.08, allocations: 0.9582 MB / 1.486 GB, free: 7.676 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00307/1.083, allocations: 1.248 MB / 1.487 GB, free: 6.32 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.581e-06/1.083, allocations: 0 / 1.487 GB, free: 6.32 MB / 1.17 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006714/1.09, allocations: 2.033 MB / 1.489 GB, free: 4.27 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.09, allocations: 9.562 kB / 1.489 GB, free: 4.262 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/1.09, allocations: 8 kB / 1.489 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001831/1.092, allocations: 493.7 kB / 1.489 GB, free: 3.766 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/1.093, allocations: 279.6 kB / 1.49 GB, free: 3.492 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002344/1.096, allocations: 1.521 MB / 1.491 GB, free: 1.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002877/1.098, allocations: 374.5 kB / 1.492 GB, free: 1.555 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000148/1.099, allocations: 59.97 kB / 1.492 GB, free: 1.496 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009087/1.099, allocations: 465.3 kB / 1.492 GB, free: 1.035 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000501/1.1, allocations: 262.3 kB / 1.492 GB, free: 0.7773 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/1.104, allocations: 1.486 MB / 1.494 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/1.104, allocations: 8 kB / 1.494 GB, free: 15.27 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.104, allocations: 4 kB / 1.494 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.104, allocations: 11.91 kB / 1.494 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/1.111, allocations: 3.62 MB / 1.497 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/1.111, allocations: 8.312 kB / 1.497 GB, free: 11.51 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/1.112, allocations: 131.8 kB / 1.497 GB, free: 11.38 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001638/1.114, allocations: 497.1 kB / 1.498 GB, free: 10.89 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.987e-05/1.114, allocations: 19.98 kB / 1.498 GB, free: 10.87 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002823/1.117, allocations: 1.587 MB / 1.499 GB, free: 9.234 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/1.117, allocations: 4.031 kB / 1.5 GB, free: 9.23 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006245/1.123, allocations: 1.945 MB / 1.501 GB, free: 7.223 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001052/1.124, allocations: 0.4911 MB / 1.502 GB, free: 6.711 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002738/1.124, allocations: 23.94 kB / 1.502 GB, free: 6.688 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/1.126, allocations: 135.8 kB / 1.502 GB, free: 6.555 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/1.126, allocations: 59.86 kB / 1.502 GB, free: 6.496 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/1.126, allocations: 43.97 kB / 1.502 GB, free: 6.453 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00292/1.129, allocations: 1.773 MB / 1.504 GB, free: 4.676 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.1e-07/1.129, allocations: 0 / 1.504 GB, free: 4.676 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.001861/1.131, allocations: 0.6941 MB / 1.505 GB, free: 3.98 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007432/1.138, allocations: 3.004 MB / 1.507 GB, free: 0.9141 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.004172/1.142, allocations: 1.302 MB / 1.509 GB, free: 15.61 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.142, allocations: 0 / 1.509 GB, free: 15.61 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.145, allocations: 0.6476 MB / 1.509 GB, free: 14.97 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005919/1.151, allocations: 1.33 MB / 1.511 GB, free: 13.66 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03424/1.185, allocations: 16.73 MB / 1.527 GB, free: 12.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/1.186, allocations: 1.493 MB / 1.528 GB, free: 10.93 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001781/1.188, allocations: 439.3 kB / 1.529 GB, free: 10.51 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/1.189, allocations: 0.9015 MB / 1.53 GB, free: 9.605 MB / 1.217 GB Notification: Performance of SimCode: time 1.182e-06/1.189, allocations: 0 / 1.53 GB, free: 9.605 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/1.305, allocations: 66.65 MB / 1.595 GB, free: 7.75 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.79/16.09, allocations: 4 kB / 1.595 GB, free: 7.746 MB / 1.279 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 21.45135599799869]