Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001368/0.001368, allocations: 104.6 kB / 16.45 MB, free: 6.445 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.001396/0.001396, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.635/2.635, allocations: 443.5 MB / 0.7287 GB, free: 14.5 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 63.91 kB / 1.056 GB, free: 2.5 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3298, allocations: 160.7 MB / 1.213 GB, free: 1.473 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.6993/1.029, allocations: 71.02 MB / 1.282 GB, free: 18.7 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02683/1.056, allocations: 18.98 MB / 1.301 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/1.059, allocations: 71.66 kB / 1.301 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/1.062, allocations: 0.8534 MB / 1.302 GB, free: 9.258 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009893/1.072, allocations: 2.998 MB / 1.305 GB, free: 7.488 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005757/1.077, allocations: 1.681 MB / 1.306 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.007862/1.085, allocations: 4.039 MB / 1.31 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002183/1.087, allocations: 1.176 MB / 1.311 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005459/1.093, allocations: 1.804 MB / 1.313 GB, free: 2.871 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/1.096, allocations: 1.228 MB / 1.314 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005211/1.096, allocations: 175.2 kB / 1.314 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004435/1.101, allocations: 1.448 MB / 1.316 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004729/1.101, allocations: 399.8 kB / 1.316 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/1.102, allocations: 0.9197 MB / 1.317 GB, free: 0.9141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006808/1.109, allocations: 3.111 MB / 1.32 GB, free: 15.75 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.109, allocations: 0.7031 kB / 1.32 GB, free: 15.75 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.964e-06/1.109, allocations: 1.812 kB / 1.32 GB, free: 15.75 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.625e-05/1.109, allocations: 0 / 1.32 GB, free: 15.75 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.005452/1.115, allocations: 2.09 MB / 1.322 GB, free: 14.31 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.115, allocations: 8.938 kB / 1.322 GB, free: 14.31 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002221/1.115, allocations: 159.2 kB / 1.322 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/1.117, allocations: 449.3 kB / 1.323 GB, free: 14.1 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/1.121, allocations: 1.57 MB / 1.324 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.695e-05/1.121, allocations: 79.03 kB / 1.324 GB, free: 13.09 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/1.121, allocations: 106.2 kB / 1.325 GB, free: 13.05 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002828/1.124, allocations: 1.318 MB / 1.326 GB, free: 12.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/1.124, allocations: 6.156 kB / 1.326 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/1.124, allocations: 43.88 kB / 1.326 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.535e-05/1.124, allocations: 26.28 kB / 1.326 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002828/1.127, allocations: 1.096 MB / 1.327 GB, free: 11.91 MB / 1.014 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.01219/1.139, allocations: 7.515 MB / 1.334 GB, free: 5.965 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003198/1.142, allocations: 0.7724 MB / 1.335 GB, free: 5.719 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000594/1.143, allocations: 268 kB / 1.335 GB, free: 5.617 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001545/1.145, allocations: 1.723 MB / 1.337 GB, free: 3.621 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.145, allocations: 37.62 kB / 1.337 GB, free: 3.578 MB / 1.014 GB Notification: Performance of pre-optimization done (n=48): time 2.375e-06/1.145, allocations: 0 / 1.337 GB, free: 3.578 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.005108/1.15, allocations: 1.343 MB / 1.338 GB, free: 3.066 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.15, allocations: 56.5 kB / 1.338 GB, free: 3.004 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/1.153, allocations: 1.55 MB / 1.34 GB, free: 2.375 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001329/1.153, allocations: 38.61 kB / 1.34 GB, free: 2.336 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007379/1.153, allocations: 0.683 MB / 1.341 GB, free: 1.789 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002428/1.154, allocations: 176.5 kB / 1.341 GB, free: 1.652 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.154, allocations: 173.1 kB / 1.341 GB, free: 1.57 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001651/1.154, allocations: 332 kB / 1.341 GB, free: 1.254 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009222/1.155, allocations: 366 kB / 1.342 GB, free: 1.129 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/1.156, allocations: 0.6599 MB / 1.342 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00186/1.158, allocations: 0.8937 MB / 1.343 GB, free: 52 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.158, allocations: 6.469 kB / 1.343 GB, free: 48 kB / 1.014 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003255/1.162, allocations: 1.198 MB / 1.344 GB, free: 15.56 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/1.162, allocations: 9.625 kB / 1.344 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/1.162, allocations: 7.844 kB / 1.344 GB, free: 15.56 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009307/1.163, allocations: 221.8 kB / 1.345 GB, free: 15.51 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/1.163, allocations: 196 kB / 1.345 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009589/1.164, allocations: 0.7218 MB / 1.345 GB, free: 14.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/1.166, allocations: 216.4 kB / 1.346 GB, free: 14.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.166, allocations: 45.02 kB / 1.346 GB, free: 14.8 MB / 1.029 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006736/1.167, allocations: 357.3 kB / 1.346 GB, free: 14.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/1.167, allocations: 162.6 kB / 1.346 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002469/1.17, allocations: 1.137 MB / 1.347 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.17, allocations: 9.219 kB / 1.347 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.17, allocations: 1.25 kB / 1.347 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/1.17, allocations: 3.047 kB / 1.347 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/1.175, allocations: 2.506 MB / 1.35 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/1.175, allocations: 1.562 kB / 1.35 GB, free: 12.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003776/1.176, allocations: 81.58 kB / 1.35 GB, free: 12.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007969/1.176, allocations: 215.5 kB / 1.35 GB, free: 12.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.431e-05/1.176, allocations: 18.67 kB / 1.35 GB, free: 12.36 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/1.178, allocations: 0.7692 MB / 1.351 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.716e-06/1.178, allocations: 1.656 kB / 1.351 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003722/1.182, allocations: 1.205 MB / 1.352 GB, free: 10.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008977/1.182, allocations: 362.3 kB / 1.352 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/1.183, allocations: 24.27 kB / 1.352 GB, free: 10.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009066/1.184, allocations: 66.05 kB / 1.352 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.28e-05/1.184, allocations: 48.19 kB / 1.352 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/1.184, allocations: 26.39 kB / 1.353 GB, free: 10.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001945/1.186, allocations: 1.086 MB / 1.354 GB, free: 9.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/1.186, allocations: 0.9688 kB / 1.354 GB, free: 9.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001889/1.188, allocations: 443.2 kB / 1.354 GB, free: 9.883 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004793/1.192, allocations: 2.13 MB / 1.356 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.195, allocations: 0.8251 MB / 1.357 GB, free: 8.066 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.195, allocations: 4.125 kB / 1.357 GB, free: 8.062 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/1.196, allocations: 415.1 kB / 1.357 GB, free: 7.871 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/1.199, allocations: 0.7333 MB / 1.358 GB, free: 7.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01938/1.219, allocations: 10.51 MB / 1.368 GB, free: 1.055 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007965/1.22, allocations: 1.171 MB / 1.369 GB, free: 144 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001167/1.221, allocations: 268.1 kB / 1.37 GB, free: 8 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000805/1.222, allocations: 0.5415 MB / 1.37 GB, free: 15.55 MB / 1.045 GB Notification: Performance of SimCode: time 9.12e-07/1.222, allocations: 0 / 1.37 GB, free: 15.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09132/1.313, allocations: 43.89 MB / 1.413 GB, free: 7.77 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16.17, allocations: 12.05 kB / 1.413 GB, free: 7.758 MB / 1.076 GB " [Timeout remaining time 284] (rm -f Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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: 22.427091660909355]